Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.288, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002487/0.2905, allocations: 1.507 MB / 411.5 MB, free: 104 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008084/0.2913, allocations: 466.9 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.2914, allocations: 4 kB / 411.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.2915, allocations: 7.766 kB / 411.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.576e-05/0.2915, allocations: 11.88 kB / 411.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.2918, allocations: 31.89 kB / 412 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.558e-05/0.2919, allocations: 35.92 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.292, allocations: 7.984 kB / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.2921, allocations: 35.86 kB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.2922, allocations: 11.92 kB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2922, allocations: 4 kB / 412.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.834e-05/0.2922, allocations: 8 kB / 412.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.2923, allocations: 7.938 kB / 412.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.2923, allocations: 23.91 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.2924, allocations: 31.84 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.2924, allocations: 7.984 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.2925, allocations: 0 / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2925, allocations: 0 / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004514/0.2929, allocations: 351.1 kB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.293, allocations: 12.03 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.2931, allocations: 16.92 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.2933, allocations: 185.5 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.2933, allocations: 4.375 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2934, allocations: 384 / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.2937, allocations: 111.6 kB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2937, allocations: 4 kB / 412.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2937, allocations: 4 kB / 412.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2937, allocations: 0 / 412.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.2938, allocations: 27.95 kB / 412.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.294, allocations: 161.6 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.2941, allocations: 58.48 kB / 413 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.2942, allocations: 28.92 kB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2942, allocations: 0 / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.2943, allocations: 38.5 kB / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2943, allocations: 0 / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002344/0.2945, allocations: 77.58 kB / 413.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.2945, allocations: 63.27 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.2946, allocations: 109.8 kB / 413.4 MB, free: 14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2946, allocations: 29.7 kB / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.2947, allocations: 84.14 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.532e-06/0.2947, allocations: 4 kB / 413.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.2947, allocations: 13.72 kB / 413.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2949, allocations: 322.8 kB / 413.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-06/0.2949, allocations: 0 / 413.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/0.2949, allocations: 27.44 kB / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.44e-05/0.2949, allocations: 35.38 kB / 413.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.295, allocations: 384 / 413.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.35e-05/0.295, allocations: 53.62 kB / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2951, allocations: 16.06 kB / 413.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2951, allocations: 0 / 413.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2951, allocations: 3.938 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.2951, allocations: 15.92 kB / 414 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2952, allocations: 0 / 414 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.2952, allocations: 4 kB / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.2952, allocations: 4 kB / 414 MB, free: 13.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.871e-05/0.2953, allocations: 113.8 kB / 414.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.2953, allocations: 7.844 kB / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.2953, allocations: 11.91 kB / 414.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2953, allocations: 4 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2953, allocations: 0 / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.2954, allocations: 85 kB / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2954, allocations: 0 / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.993e-05/0.2955, allocations: 4 kB / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-06/0.2955, allocations: 0 / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001798/0.2957, allocations: 144.9 kB / 414.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001919/0.2959, allocations: 239.1 kB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.096e-05/0.2959, allocations: 20.03 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.073e-05/0.296, allocations: 87.27 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.296, allocations: 0 / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003569/0.2963, allocations: 92.56 kB / 414.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004153/0.2968, allocations: 0.578 MB / 415.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of Templates: time 0.002376/0.2991, allocations: 396.8 kB / 415.7 MB, free: 11.47 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1)