Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.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.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP") [: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.003503/0.003504, allocations: 184.1 kB / 7.457 MB, free: 2.504 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.267/1.267, allocations: 194.2 MB / 202.1 MB, free: 8.82 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.001723/0.001723, allocations: 117.4 kB / 247.1 MB, free: 6.223 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.1651/0.1651, allocations: 39.94 MB / 331.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.182e-06/6.212e-06, allocations: 0 / 392.8 MB, free: 75.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09034, allocations: 54.87 MB / 447.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2958/0.3861, allocations: 82.3 MB / 0.5175 GB, free: 10.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.3864, allocations: 63.05 kB / 0.5176 GB, free: 10.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03443/0.4208, allocations: 11.08 MB / 0.5284 GB, free: 6.395 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.814e-05/0.4209, allocations: 11.25 kB / 0.5284 GB, free: 6.391 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002586/0.4235, allocations: 0.9062 MB / 0.5293 GB, free: 5.789 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4236, allocations: 9.531 kB / 0.5293 GB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/0.424, allocations: 57.97 kB / 0.5294 GB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006903/0.4247, allocations: 350.2 kB / 0.5297 GB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003696/0.4251, allocations: 254.2 kB / 0.5299 GB, free: 5.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.4252, allocations: 27.98 kB / 0.53 GB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001449/0.4267, allocations: 0.803 MB / 0.5308 GB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008664/0.4275, allocations: 0.5034 MB / 0.5312 GB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.4276, allocations: 7.906 kB / 0.5313 GB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.108e-05/0.4277, allocations: 3.984 kB / 0.5313 GB, free: 4.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.4277, allocations: 8 kB / 0.5313 GB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00294/0.4306, allocations: 1.317 MB / 0.5326 GB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.4318, allocations: 481.2 kB / 0.533 GB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.4323, allocations: 297.1 kB / 0.5333 GB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.893e-05/0.4324, allocations: 8.156 kB / 0.5333 GB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.4324, allocations: 38.38 kB / 0.5333 GB, free: 2.656 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 2.825e-06/0.4324, allocations: 0 / 0.5333 GB, free: 2.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.02258/0.455, allocations: 7.188 MB / 0.5404 GB, free: 13.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.4551, allocations: 94.05 kB / 0.5404 GB, free: 13.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.4557, allocations: 319.1 kB / 0.5408 GB, free: 12.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002018/0.456, allocations: 25.7 kB / 0.5408 GB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.4561, allocations: 158.3 kB / 0.5409 GB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005098/0.4566, allocations: 386.4 kB / 0.5413 GB, free: 12.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.4568, allocations: 0 / 0.5413 GB, free: 12.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.457, allocations: 370.3 kB / 0.5416 GB, free: 12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.4587, allocations: 0.9492 MB / 0.5426 GB, free: 11.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.4603, allocations: 1.047 MB / 0.5436 GB, free: 11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.4617, allocations: 0.7869 MB / 0.5444 GB, free: 10.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4617, allocations: 3.938 kB / 0.5444 GB, free: 10.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003609/0.4653, allocations: 2.001 MB / 0.5463 GB, free: 9.414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4653, allocations: 4 kB / 0.5463 GB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.4653, allocations: 4 kB / 0.5463 GB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.4654, allocations: 11.92 kB / 0.5463 GB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/0.4686, allocations: 481.7 kB / 0.5468 GB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.572e-05/0.4686, allocations: 8 kB / 0.5468 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/0.4709, allocations: 275.7 kB / 0.5471 GB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.4711, allocations: 37.36 kB / 0.5471 GB, free: 8.629 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 142 * 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 0.0003698/0.4715, allocations: 121.4 kB / 0.5472 GB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.4718, allocations: 59.25 kB / 0.5473 GB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.4719, allocations: 59.05 kB / 0.5473 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.472, allocations: 16 kB / 0.5474 GB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.472, allocations: 4 kB / 0.5474 GB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.472, allocations: 11.88 kB / 0.5474 GB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009553/0.4815, allocations: 4.73 MB / 0.552 GB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.178e-05/0.4817, allocations: 20 kB / 0.552 GB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/0.4835, allocations: 434.5 kB / 0.5524 GB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-05/0.4836, allocations: 28 kB / 0.5524 GB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.4837, allocations: 35.36 kB / 0.5525 GB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.419e-05/0.4838, allocations: 39.86 kB / 0.5525 GB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.795e-05/0.4838, allocations: 35.81 kB / 0.5526 GB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004066/0.4879, allocations: 3.246 MB / 0.5557 GB, free: 344 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005411/0.4884, allocations: 239.2 kB / 0.556 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.4887, allocations: 31.98 kB / 0.556 GB, free: 96 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/0.4903, allocations: 256.9 kB / 0.5562 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005033/0.4908, allocations: 219.5 kB / 0.5564 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.491, allocations: 59.98 kB / 0.5565 GB, free: 15.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003869/0.4914, allocations: 243.1 kB / 0.5567 GB, free: 15.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001254/0.4926, allocations: 192 kB / 0.5569 GB, free: 15.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * 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.0003103/0.493, allocations: 146.7 kB / 0.557 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002848/0.4958, allocations: 1.612 MB / 0.5586 GB, free: 13.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.4958, allocations: 0 / 0.5586 GB, free: 13.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002065/0.4979, allocations: 0.7726 MB / 0.5594 GB, free: 12.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4989, allocations: 107.5 kB / 0.5595 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.5029, allocations: 1.649 MB / 0.5611 GB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/0.5043, allocations: 1.009 MB / 0.5621 GB, free: 9.543 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5043, allocations: 0 / 0.5621 GB, free: 9.543 MB / 378.7 MB Notification: Performance of Templates: time 0.02931/0.5337, allocations: 17.51 MB / 0.5792 GB, free: 8.082 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1)