Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001806/0.001807, allocations: 199.8 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.77/1.77, allocations: 225.5 MB / 234.4 MB, free: 3.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001845/0.001845, allocations: 92 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3305/0.3305, allocations: 45.15 MB / 383.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3283/0.6589, allocations: 69.36 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.7829, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4005/1.183, allocations: 109 MB / 0.6103 GB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/1.184, allocations: 70.66 kB / 0.6104 GB, free: 10.14 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.2765/1.46, allocations: 98.52 MB / 0.7066 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/1.46, allocations: 12 kB / 0.7066 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/1.471, allocations: 1.846 MB / 0.7084 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01468/1.486, allocations: 4.43 MB / 0.7127 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/1.486, allocations: 144 kB / 0.7128 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00242/1.489, allocations: 255.9 kB / 0.7131 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01617/1.505, allocations: 6.975 MB / 0.7199 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02547/1.531, allocations: 10.3 MB / 0.73 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003121/1.531, allocations: 59.45 kB / 0.73 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002023/1.533, allocations: 32 kB / 0.73 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001821/1.535, allocations: 1.233 MB / 0.7313 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2732/1.808, allocations: 50.12 MB / 0.7802 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005077/1.813, allocations: 4.339 MB / 0.7844 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003532/1.817, allocations: 3.243 MB / 0.7876 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01463/1.831, allocations: 9.231 MB / 0.7966 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003422/1.835, allocations: 3.134 MB / 0.7997 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=211): time 5.851e-06/1.835, allocations: 5.188 kB / 0.7997 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=271): time 0.061/1.896, allocations: 22.62 MB / 0.8218 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/1.896, allocations: 159 kB / 0.8219 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005544/1.902, allocations: 3.222 MB / 0.8251 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008037/1.902, allocations: 25.7 kB / 0.8251 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002472/1.905, allocations: 3.041 MB / 0.8281 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001398/1.906, allocations: 0.9713 MB / 0.829 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000513/1.907, allocations: 0 / 0.829 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003201/1.907, allocations: 0.5942 MB / 0.8296 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004043/1.911, allocations: 3.002 MB / 0.8325 GB, free: 148 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006164/1.917, allocations: 6.713 MB / 0.8391 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008994/1.927, allocations: 4.445 MB / 0.8434 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001918/1.927, allocations: 41.09 kB / 0.8435 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02338/1.95, allocations: 11.12 MB / 0.8543 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.95, allocations: 8 kB / 0.8543 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/1.95, allocations: 133 kB / 0.8545 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006866/1.957, allocations: 2.588 MB / 0.857 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005368/1.963, allocations: 1.465 MB / 0.8584 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02304/1.986, allocations: 19.54 MB / 0.8775 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/1.991, allocations: 228.5 kB / 0.8777 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/1.993, allocations: 403.2 kB / 0.8781 GB, free: 111.3 MB / 0.5261 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.001082/1.994, allocations: 450.7 kB / 0.8785 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006393/1.994, allocations: 363.3 kB / 0.8789 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/2.006, allocations: 7.052 MB / 0.8858 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-05/2.007, allocations: 25.31 kB / 0.8858 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.261e-05/2.007, allocations: 11.91 kB / 0.8858 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.525e-05/2.007, allocations: 18.11 kB / 0.8858 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02307/2.03, allocations: 12.63 MB / 0.8982 GB, free: 94.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.402e-05/2.03, allocations: 4 kB / 0.8982 GB, free: 94.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/2.032, allocations: 347.6 kB / 0.8985 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006334/2.038, allocations: 2.35 MB / 0.9008 GB, free: 92.56 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007678/2.039, allocations: 12 kB / 0.9008 GB, free: 92.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02311/2.062, allocations: 19.3 MB / 0.9196 GB, free: 74.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/2.062, allocations: 12 kB / 0.9197 GB, free: 74.36 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01349/2.076, allocations: 7.496 MB / 0.927 GB, free: 66.74 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01251/2.088, allocations: 7.947 MB / 0.9347 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/2.09, allocations: 408.2 kB / 0.9351 GB, free: 58.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001388/2.091, allocations: 4 kB / 0.9351 GB, free: 58.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002197/2.093, allocations: 95.84 kB / 0.9352 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004114/2.094, allocations: 129.7 kB / 0.9353 GB, free: 58.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/2.094, allocations: 72 kB / 0.9354 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003435/2.097, allocations: 2.167 MB / 0.9375 GB, free: 55.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008527/2.106, allocations: 1.14 MB / 0.9386 GB, free: 54.68 MB / 0.5261 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.001423/2.107, allocations: 366.3 kB / 0.939 GB, free: 54.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01188/2.119, allocations: 7.754 MB / 0.9466 GB, free: 46.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/2.119, allocations: 0 / 0.9466 GB, free: 46.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005418/2.125, allocations: 3.47 MB / 0.95 GB, free: 43.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/2.127, allocations: 339.7 kB / 0.9503 GB, free: 42.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/2.149, allocations: 9.644 MB / 0.9597 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005915/2.155, allocations: 3.887 MB / 0.9635 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/2.155, allocations: 0 / 0.9635 GB, free: 29.21 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat