Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 118.3 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001938/0.001938, allocations: 202.7 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2446, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002629/0.2473, allocations: 1.585 MB / 411.5 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009376/0.2482, allocations: 0.5259 MB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.2483, allocations: 0 / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.044e-05/0.2484, allocations: 11.92 kB / 412.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.2486, allocations: 11.88 kB / 412.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.2489, allocations: 55.8 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.339e-05/0.249, allocations: 47.8 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.2491, allocations: 15.98 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.2492, allocations: 23.92 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.2492, allocations: 23.86 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2493, allocations: 8 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.096e-05/0.2493, allocations: 11.98 kB / 412.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.2494, allocations: 11.94 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.2494, allocations: 27.8 kB / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.2496, allocations: 51.61 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2496, allocations: 7.922 kB / 412.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.2496, allocations: 0 / 412.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.2496, allocations: 3.938 kB / 412.4 MB, free: 15.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004388/0.25, allocations: 383 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2501, allocations: 8.031 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.2502, allocations: 20.88 kB / 412.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.2505, allocations: 192.3 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2505, allocations: 4.375 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.2505, allocations: 12.36 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.2508, allocations: 125.3 kB / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.2508, allocations: 0 / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.2508, allocations: 0 / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2508, allocations: 0 / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.916e-05/0.2509, allocations: 19.98 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.2512, allocations: 269.7 kB / 413.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.2514, allocations: 142.2 kB / 413.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.2515, allocations: 29.77 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2515, allocations: 4 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.2515, allocations: 38.5 kB / 413.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2515, allocations: 0 / 413.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000248/0.2518, allocations: 77.62 kB / 413.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.2518, allocations: 81.05 kB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.2519, allocations: 144.5 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.252, allocations: 25.7 kB / 413.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.252, allocations: 88.2 kB / 414 MB, free: 13.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.252, allocations: 11.95 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.2521, allocations: 21.7 kB / 414 MB, free: 13.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.2522, allocations: 314.8 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-05/0.2522, allocations: 15.92 kB / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.722e-05/0.2523, allocations: 27.44 kB / 414.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.734e-05/0.2524, allocations: 51.36 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2524, allocations: 3.938 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001353/0.2525, allocations: 69.56 kB / 414.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2525, allocations: 8.125 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2526, allocations: 4 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2526, allocations: 0 / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.031e-05/0.2527, allocations: 23.86 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2527, allocations: 0 / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.2527, allocations: 4 kB / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2527, allocations: 0 / 414.5 MB, free: 12.72 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.331e-05/0.2528, allocations: 125.8 kB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.2528, allocations: 7.953 kB / 414.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.2529, allocations: 16.25 kB / 414.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2529, allocations: 0 / 414.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2529, allocations: 4 kB / 414.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.253, allocations: 89.05 kB / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.253, allocations: 0 / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.2531, allocations: 7.984 kB / 414.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.2531, allocations: 7.938 kB / 414.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001853/0.2533, allocations: 224.4 kB / 415 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001937/0.2535, allocations: 310 kB / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.394e-05/0.2535, allocations: 19.92 kB / 415.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.9e-05/0.2536, allocations: 113.5 kB / 415.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of Backend: time 3.11e-07/0.2536, allocations: 0 / 415.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004646/0.2541, allocations: 94.42 kB / 415.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004988/0.2546, allocations: 0.623 MB / 416.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of Templates: time 0.002872/0.2575, allocations: 0.6085 MB / 416.8 MB, free: 10.38 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1)