Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) [: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.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 192 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 92.11 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2556/0.2556, allocations: 43.5 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2483/0.5039, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.9042, allocations: 58.83 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/1.067, allocations: 105.5 MB / 0.5684 GB, free: 9.449 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/1.067, allocations: 75.47 kB / 0.5685 GB, free: 9.375 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.5071/1.574, allocations: 95.62 MB / 0.6619 GB, free: 104.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.574, allocations: 11.69 kB / 0.6619 GB, free: 104.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009712/1.584, allocations: 1.85 MB / 0.6637 GB, free: 104.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/1.598, allocations: 5.127 MB / 0.6687 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/1.598, allocations: 140.8 kB / 0.6689 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/1.6, allocations: 253.3 kB / 0.6691 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01257/1.612, allocations: 6.972 MB / 0.6759 GB, free: 103.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0154/1.628, allocations: 10.31 MB / 0.686 GB, free: 98.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001995/1.628, allocations: 65.53 kB / 0.686 GB, free: 98.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005916/1.629, allocations: 37.5 kB / 0.6861 GB, free: 98.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001629/1.63, allocations: 1.225 MB / 0.6873 GB, free: 98.72 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05317/1.684, allocations: 50.15 MB / 0.7362 GB, free: 62.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/1.688, allocations: 4.351 MB / 0.7405 GB, free: 57.95 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/1.691, allocations: 3.248 MB / 0.7437 GB, free: 54.96 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01485/1.706, allocations: 9.24 MB / 0.7527 GB, free: 46.72 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0034/1.71, allocations: 3.135 MB / 0.7557 GB, free: 44.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=211): time 4.478e-06/1.71, allocations: 4 kB / 0.7558 GB, free: 44.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=271): time 0.05559/1.765, allocations: 22.69 MB / 0.7779 GB, free: 22.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.765, allocations: 162.5 kB / 0.7781 GB, free: 21.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004245/1.77, allocations: 3.227 MB / 0.7812 GB, free: 18.67 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005857/1.77, allocations: 29.7 kB / 0.7812 GB, free: 18.63 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00206/1.772, allocations: 3.039 MB / 0.7842 GB, free: 15.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.773, allocations: 0.9713 MB / 0.7852 GB, free: 14.56 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/1.774, allocations: 0 / 0.7852 GB, free: 14.56 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003169/1.774, allocations: 0.591 MB / 0.7857 GB, free: 13.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003505/1.778, allocations: 3 MB / 0.7887 GB, free: 10.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004932/1.783, allocations: 6.713 MB / 0.7952 GB, free: 2.387 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005991/1.789, allocations: 4.451 MB / 0.7996 GB, free: 13.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/1.789, allocations: 39.94 kB / 0.7996 GB, free: 13.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02452/1.813, allocations: 11.13 MB / 0.8105 GB, free: 2.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/1.813, allocations: 8.938 kB / 0.8105 GB, free: 2.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/1.814, allocations: 132 kB / 0.8106 GB, free: 2.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007968/1.821, allocations: 2.579 MB / 0.8131 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007058/1.829, allocations: 1.47 MB / 0.8146 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2381/2.067, allocations: 19.53 MB / 0.8336 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00624/2.073, allocations: 239 kB / 0.8339 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/2.074, allocations: 397.5 kB / 0.8342 GB, free: 170.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 602 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (777): * Single equations (assignments): 770 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.00105/2.075, allocations: 449.8 kB / 0.8347 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006322/2.076, allocations: 374.5 kB / 0.835 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/2.088, allocations: 7.049 MB / 0.8419 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.529e-05/2.088, allocations: 26 kB / 0.8419 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/2.088, allocations: 6.562 kB / 0.8419 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-05/2.088, allocations: 20.2 kB / 0.842 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02284/2.111, allocations: 12.64 MB / 0.8543 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/2.111, allocations: 0 / 0.8543 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/2.113, allocations: 338.3 kB / 0.8546 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006548/2.12, allocations: 2.357 MB / 0.8569 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005492/2.12, allocations: 13.75 kB / 0.8569 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02408/2.144, allocations: 19.29 MB / 0.8758 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/2.144, allocations: 3.938 kB / 0.8758 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01254/2.157, allocations: 7.503 MB / 0.8831 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01397/2.171, allocations: 7.941 MB / 0.8909 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002745/2.174, allocations: 0.8866 MB / 0.8917 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/2.175, allocations: 3.469 kB / 0.8917 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002508/2.178, allocations: 101.2 kB / 0.8918 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004341/2.178, allocations: 133.9 kB / 0.892 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002716/2.178, allocations: 72.05 kB / 0.892 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004155/2.182, allocations: 2.172 MB / 0.8941 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009533/2.192, allocations: 1.135 MB / 0.8953 GB, free: 152.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 168 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.0014/2.193, allocations: 360.3 kB / 0.8956 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01272/2.206, allocations: 7.774 MB / 0.9032 GB, free: 149 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/2.206, allocations: 0 / 0.9032 GB, free: 149 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005285/2.211, allocations: 3.454 MB / 0.9066 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/2.214, allocations: 329.5 kB / 0.9069 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/2.234, allocations: 9.67 MB / 0.9163 GB, free: 137 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005163/2.239, allocations: 3.887 MB / 0.9201 GB, free: 134 MB / 0.4948 GB Notification: Performance of SimCode: time 1.362e-06/2.239, allocations: 0 / 0.9201 GB, free: 134 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)