Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.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.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.004285/0.004285, allocations: 177.4 kB / 7.449 MB, free: 2.516 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.417/1.417, allocations: 170.6 MB / 178.4 MB, free: 15.36 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.001647/0.001647, allocations: 119.8 kB / 217.7 MB, free: 8.121 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.1711/0.1711, allocations: 37.97 MB / 294.8 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.723e-06, allocations: 1.312 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 48.7 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3128/0.4174, allocations: 75.92 MB / 474.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001657/0.4176, allocations: 61.78 kB / 474.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03234/0.4499, allocations: 11.08 MB / 485.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.128e-05/0.45, allocations: 11.94 kB / 485.3 MB, free: 12.69 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002436/0.4524, allocations: 0.9074 MB / 486.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.4525, allocations: 11.38 kB / 486.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/0.4528, allocations: 59.25 kB / 486.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007533/0.4536, allocations: 336.8 kB / 486.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003844/0.454, allocations: 260.2 kB / 486.8 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.4541, allocations: 23.28 kB / 486.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0014/0.4555, allocations: 0.8066 MB / 487.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008635/0.4564, allocations: 0.5049 MB / 488.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.4564, allocations: 0 / 488.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.444e-05/0.4565, allocations: 1.406 kB / 488.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.4565, allocations: 11.72 kB / 488.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.4591, allocations: 1.341 MB / 489.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.4602, allocations: 465.8 kB / 490 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.4606, allocations: 298.3 kB / 490.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.111e-05/0.4607, allocations: 12.02 kB / 490.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.4607, allocations: 39.17 kB / 490.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=66): time 2.224e-06/0.4608, allocations: 7.906 kB / 490.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.02116/0.4819, allocations: 7.157 MB / 497.5 MB, free: 9.871 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.482, allocations: 94.34 kB / 497.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.4826, allocations: 318.2 kB / 497.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.4828, allocations: 25.7 kB / 497.9 MB, free: 9.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.4829, allocations: 168.5 kB / 498.1 MB, free: 9.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000347/0.4832, allocations: 381.6 kB / 498.4 MB, free: 9.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.4834, allocations: 0 / 498.4 MB, free: 9.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.4835, allocations: 370.1 kB / 498.8 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.4848, allocations: 0.9511 MB / 499.8 MB, free: 8.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.4862, allocations: 1.046 MB / 0.4891 GB, free: 8.867 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.4875, allocations: 0.7866 MB / 0.4898 GB, free: 8.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4875, allocations: 3.938 kB / 0.4898 GB, free: 8.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003193/0.4907, allocations: 1.997 MB / 0.4918 GB, free: 8.762 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4907, allocations: 3.969 kB / 0.4918 GB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.4907, allocations: 7.844 kB / 0.4918 GB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.42e-05/0.4908, allocations: 7.812 kB / 0.4918 GB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/0.4937, allocations: 472.2 kB / 0.4923 GB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/0.4938, allocations: 8.719 kB / 0.4923 GB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.4961, allocations: 280 kB / 0.4925 GB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/0.4963, allocations: 41.27 kB / 0.4926 GB, free: 8.695 MB / 330.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.0003985/0.4968, allocations: 128.5 kB / 0.4927 GB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/0.497, allocations: 54.56 kB / 0.4928 GB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.4972, allocations: 58.7 kB / 0.4928 GB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.4972, allocations: 19.28 kB / 0.4928 GB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.4973, allocations: 0 / 0.4928 GB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.4973, allocations: 10.14 kB / 0.4928 GB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008821/0.5061, allocations: 4.73 MB / 0.4975 GB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.843e-05/0.5062, allocations: 19.44 kB / 0.4975 GB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.5077, allocations: 438.2 kB / 0.4979 GB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.77e-05/0.5078, allocations: 34.75 kB / 0.4979 GB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.5079, allocations: 26.44 kB / 0.4979 GB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.041e-05/0.5079, allocations: 38.64 kB / 0.498 GB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.67e-05/0.5079, allocations: 30.88 kB / 0.498 GB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002959/0.5109, allocations: 3.25 MB / 0.5012 GB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/0.5113, allocations: 237.2 kB / 0.5014 GB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.5115, allocations: 31.3 kB / 0.5014 GB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.513, allocations: 266.2 kB / 0.5017 GB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003738/0.5134, allocations: 216.6 kB / 0.5019 GB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.5135, allocations: 56.66 kB / 0.502 GB, free: 3.562 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002571/0.5138, allocations: 242.1 kB / 0.5022 GB, free: 3.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001143/0.5149, allocations: 194.2 kB / 0.5024 GB, free: 3.457 MB / 330.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.0002351/0.5152, allocations: 152.1 kB / 0.5025 GB, free: 3.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00273/0.5179, allocations: 1.604 MB / 0.5041 GB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.5179, allocations: 0 / 0.5041 GB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.5199, allocations: 0.7729 MB / 0.5048 GB, free: 2.711 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008752/0.5208, allocations: 111 kB / 0.5049 GB, free: 2.676 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/0.5244, allocations: 1.648 MB / 0.5066 GB, free: 1.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.5258, allocations: 1.011 MB / 0.5075 GB, free: 440 kB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5258, allocations: 0 / 0.5075 GB, free: 440 kB / 330.7 MB Notification: Performance of Templates: time 0.03807/0.5638, allocations: 17.52 MB / 0.5246 GB, free: 6.324 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1)