Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00494/0.00494, allocations: 182.1 kB / 7.455 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.303/1.303, allocations: 170.6 MB / 178.4 MB, free: 15.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001737/0.001736, allocations: 115.8 kB / 217.7 MB, free: 8.543 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1665/0.1665, allocations: 37.97 MB / 294.8 MB, free: 9.641 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.218e-06/9.248e-06, allocations: 0.7188 kB / 349.5 MB, free: 37.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1411, allocations: 48.72 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3414/0.4825, allocations: 75.08 MB / 473.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4828, allocations: 66.11 kB / 473.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01996/0.5028, allocations: 8.036 MB / 481.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.5028, allocations: 15.62 kB / 481.4 MB, free: 12.88 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0009613/0.5038, allocations: 0.6422 MB / 482.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5038, allocations: 7.312 kB / 482.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.504, allocations: 54.06 kB / 482.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.5044, allocations: 299.2 kB / 482.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.5044, allocations: 14.94 kB / 482.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.5045, allocations: 39.38 kB / 482.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004632/0.505, allocations: 275.3 kB / 482.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.5055, allocations: 347 kB / 483.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.5056, allocations: 14.66 kB / 483.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.5056, allocations: 4 kB / 483.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.5056, allocations: 12.38 kB / 483.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.5071, allocations: 1.073 MB / 484.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.5075, allocations: 286.5 kB / 484.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.5078, allocations: 196.4 kB / 484.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.5079, allocations: 12.14 kB / 484.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.5079, allocations: 38.69 kB / 484.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 1.943e-06/0.5079, allocations: 0 / 484.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.00214/0.51, allocations: 1.797 MB / 486.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.5101, allocations: 93.27 kB / 486.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.5102, allocations: 193.7 kB / 486.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.5103, allocations: 25.7 kB / 486.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.5103, allocations: 187.5 kB / 487 MB, free: 10.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.5105, allocations: 262.2 kB / 487.2 MB, free: 9.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.5105, allocations: 0 / 487.2 MB, free: 9.973 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.5106, allocations: 357.5 kB / 487.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.5108, allocations: 135.8 kB / 487.7 MB, free: 9.656 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.511, allocations: 238.9 kB / 487.9 MB, free: 9.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.5113, allocations: 178 kB / 488.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.5113, allocations: 0 / 488.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0005883/0.5119, allocations: 498.4 kB / 488.6 MB, free: 9.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.5119, allocations: 10.34 kB / 488.6 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.5119, allocations: 0 / 488.6 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.5119, allocations: 7.844 kB / 488.6 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/0.5125, allocations: 188.4 kB / 488.8 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.5125, allocations: 10.5 kB / 488.8 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.5128, allocations: 8.156 kB / 488.8 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.5128, allocations: 26.22 kB / 488.9 MB, free: 9.426 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.1e-05/0.5129, allocations: 119.5 kB / 489 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.513, allocations: 46.59 kB / 489 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.527e-05/0.5131, allocations: 44.59 kB / 489.1 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5131, allocations: 7.812 kB / 489.1 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.5131, allocations: 3.938 kB / 489.1 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5132, allocations: 2.484 kB / 489.1 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.5147, allocations: 1.309 MB / 490.4 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5147, allocations: 3.875 kB / 490.4 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/0.5153, allocations: 160.3 kB / 490.5 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.5153, allocations: 7.781 kB / 490.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.5154, allocations: 5.609 kB / 490.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.5154, allocations: 7.75 kB / 490.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5154, allocations: 7.781 kB / 490.6 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007789/0.5162, allocations: 0.9786 MB / 491.5 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.5162, allocations: 110.6 kB / 491.7 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.5163, allocations: 9.578 kB / 491.7 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.5166, allocations: 11.66 kB / 491.7 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.5167, allocations: 47.56 kB / 491.7 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.5167, allocations: 22.62 kB / 491.7 MB, free: 7.977 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.473e-05/0.5168, allocations: 150.3 kB / 491.9 MB, free: 7.898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005194/0.5173, allocations: 116.8 kB / 492 MB, free: 7.898 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001233/0.5174, allocations: 112.5 kB / 492.1 MB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004849/0.5179, allocations: 408.8 kB / 492.5 MB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5179, allocations: 0 / 492.5 MB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.5182, allocations: 212.5 kB / 492.7 MB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.5188, allocations: 96.98 kB / 492.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.5212, allocations: 1.468 MB / 494.3 MB, free: 6.793 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006695/0.5219, allocations: 0.9043 MB / 495.2 MB, free: 22.09 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5219, allocations: 0 / 495.2 MB, free: 22.09 MB / 346.7 MB Notification: Performance of Templates: time 0.009939/0.5318, allocations: 5.081 MB / 0.4885 GB, free: 21.7 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1)