Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking") [: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.2+maint.om/package.mo): time 0.003082/0.003082, allocations: 185.7 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.392/1.392, allocations: 194.2 MB / 202.1 MB, free: 8.656 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001687/0.001687, allocations: 113.9 kB / 247.1 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1873/0.1873, allocations: 39.94 MB / 331.9 MB, free: 4.875 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/5.961e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3089/0.4097, allocations: 81.62 MB / 0.5168 GB, free: 10.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.4099, allocations: 60.53 kB / 0.5169 GB, free: 10.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01196/0.4219, allocations: 4.182 MB / 0.521 GB, free: 9.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.4219, allocations: 4.438 kB / 0.521 GB, free: 9.199 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0005258/0.4225, allocations: 478.1 kB / 0.5214 GB, free: 8.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4225, allocations: 8.844 kB / 0.5215 GB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.4226, allocations: 24.72 kB / 0.5215 GB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.4228, allocations: 230 kB / 0.5217 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.4228, allocations: 10.53 kB / 0.5217 GB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.4229, allocations: 15.47 kB / 0.5217 GB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002541/0.4231, allocations: 110 kB / 0.5218 GB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.4234, allocations: 184.3 kB / 0.522 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.4234, allocations: 17.77 kB / 0.522 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.4235, allocations: 1.25 kB / 0.522 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.4235, allocations: 6.094 kB / 0.522 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.4246, allocations: 0.9421 MB / 0.5229 GB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.4248, allocations: 187.3 kB / 0.5231 GB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.4249, allocations: 64.66 kB / 0.5232 GB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.425, allocations: 10.34 kB / 0.5232 GB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.425, allocations: 40.09 kB / 0.5232 GB, free: 7.496 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.784e-06/0.425, allocations: 1.125 kB / 0.5232 GB, free: 7.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009903/0.426, allocations: 0.9209 MB / 0.5241 GB, free: 6.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.426, allocations: 131 kB / 0.5243 GB, free: 6.523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.4262, allocations: 154.1 kB / 0.5244 GB, free: 6.414 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.4262, allocations: 27.14 kB / 0.5244 GB, free: 6.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.4263, allocations: 139.6 kB / 0.5246 GB, free: 6.262 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.4263, allocations: 100.5 kB / 0.5247 GB, free: 6.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.4263, allocations: 0 / 0.5247 GB, free: 6.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.4264, allocations: 331.8 kB / 0.525 GB, free: 5.867 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.4265, allocations: 61.5 kB / 0.525 GB, free: 5.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.4266, allocations: 166.7 kB / 0.5252 GB, free: 5.715 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.4268, allocations: 77.16 kB / 0.5253 GB, free: 5.703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4268, allocations: 5.062 kB / 0.5253 GB, free: 5.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004032/0.4272, allocations: 261.8 kB / 0.5255 GB, free: 5.613 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4272, allocations: 4.344 kB / 0.5255 GB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4272, allocations: 4.344 kB / 0.5255 GB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.4273, allocations: 6.438 kB / 0.5255 GB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.4276, allocations: 81.59 kB / 0.5256 GB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.4276, allocations: 17.77 kB / 0.5256 GB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.4277, allocations: 4.656 kB / 0.5256 GB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.4278, allocations: 16.03 kB / 0.5257 GB, free: 5.586 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 6.751e-05/0.4278, allocations: 119 kB / 0.5258 GB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.428, allocations: 18.44 kB / 0.5258 GB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.4281, allocations: 104 kB / 0.5259 GB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4282, allocations: 4.125 kB / 0.5259 GB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.4282, allocations: 1.094 kB / 0.5259 GB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4282, allocations: 5.094 kB / 0.5259 GB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008503/0.429, allocations: 0.71 MB / 0.5266 GB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4291, allocations: 7.141 kB / 0.5266 GB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.4294, allocations: 68.42 kB / 0.5267 GB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.4294, allocations: 9.125 kB / 0.5267 GB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.4294, allocations: 4.188 kB / 0.5267 GB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4294, allocations: 10.69 kB / 0.5267 GB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4294, allocations: 2.562 kB / 0.5267 GB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004573/0.4299, allocations: 0.7084 MB / 0.5274 GB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.43, allocations: 96.5 kB / 0.5275 GB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.43, allocations: 15.73 kB / 0.5275 GB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.4303, allocations: 6.5 kB / 0.5275 GB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.4303, allocations: 12.73 kB / 0.5275 GB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.4303, allocations: 15.58 kB / 0.5275 GB, free: 4.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.099e-05/0.4304, allocations: 122.6 kB / 0.5276 GB, free: 4.004 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000467/0.4309, allocations: 47.69 kB / 0.5277 GB, free: 4.004 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.0001378/0.431, allocations: 98.88 kB / 0.5278 GB, free: 3.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.4313, allocations: 178.8 kB / 0.5279 GB, free: 3.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4313, allocations: 1.344 kB / 0.5279 GB, free: 3.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.4314, allocations: 81.33 kB / 0.528 GB, free: 3.879 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.4319, allocations: 44.73 kB / 0.5281 GB, free: 3.863 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.4331, allocations: 0.7924 MB / 0.5288 GB, free: 3.234 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.4334, allocations: 0.7857 MB / 0.5296 GB, free: 2.492 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4334, allocations: 0 / 0.5296 GB, free: 2.492 MB / 346.7 MB Notification: Performance of Templates: time 0.004868/0.4383, allocations: 2.172 MB / 0.5317 GB, free: 1.457 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe 2>&1)