Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.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: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") [: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.001727/0.001728, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 225.5 MB / 234.4 MB, free: 3.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000879/0.0008789, allocations: 94.11 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1797/0.1797, allocations: 45.15 MB / 383.3 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.541e-06/5.671e-06, allocations: 0 / 452.6 MB, free: 76.23 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 63.24 MB / 0.5038 GB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3398/0.4534, allocations: 103.2 MB / 0.6045 GB, free: 0 / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4537, allocations: 69.28 kB / 0.6046 GB, free: 15.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1651/0.6189, allocations: 58.37 MB / 0.6616 GB, free: 13.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001567/0.6191, allocations: 51.94 kB / 0.6616 GB, free: 13.9 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.009715/0.6288, allocations: 2.583 MB / 0.6642 GB, free: 11.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.6289, allocations: 8.031 kB / 0.6642 GB, free: 11.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00871/0.6376, allocations: 1.576 MB / 0.6657 GB, free: 9.789 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008357/0.646, allocations: 2.705 MB / 0.6684 GB, free: 7.031 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.6462, allocations: 76 kB / 0.6684 GB, free: 6.957 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001492/0.6477, allocations: 139.9 kB / 0.6686 GB, free: 6.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008912/0.6567, allocations: 4.092 MB / 0.6726 GB, free: 2.723 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/0.6696, allocations: 6.388 MB / 0.6788 GB, free: 11.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/0.6699, allocations: 47.52 kB / 0.6788 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000877/0.6707, allocations: 24 kB / 0.6789 GB, free: 11.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001182/0.6719, allocations: 0.7692 MB / 0.6796 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03921/0.7112, allocations: 32.81 MB / 0.7117 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/0.7142, allocations: 2.071 MB / 0.7137 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.7158, allocations: 1.124 MB / 0.7148 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006601/0.7224, allocations: 3.82 MB / 0.7185 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.7224, allocations: 46.83 kB / 0.7186 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=94): time 3.887e-06/0.7225, allocations: 0 / 0.7186 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106): time 0.01317/0.7356, allocations: 6.181 MB / 0.7246 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.7358, allocations: 140.9 kB / 0.7247 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003965/0.7397, allocations: 2.208 MB / 0.7269 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.7399, allocations: 29.7 kB / 0.7269 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.7412, allocations: 2.077 MB / 0.7289 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/0.7417, allocations: 426.7 kB / 0.7293 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.7418, allocations: 0 / 0.7293 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003455/0.7422, allocations: 0.5477 MB / 0.7299 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/0.7441, allocations: 1.329 MB / 0.7312 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00399/0.7481, allocations: 4.287 MB / 0.7354 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/0.7516, allocations: 2.399 MB / 0.7377 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.097e-05/0.7517, allocations: 32 kB / 0.7377 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=593) (initialization): time 0.007779/0.7595, allocations: 4.877 MB / 0.7425 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.7595, allocations: 4 kB / 0.7425 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/0.7596, allocations: 108.9 kB / 0.7426 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/0.7598, allocations: 156 kB / 0.7428 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/0.7634, allocations: 1.096 MB / 0.7438 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001664/0.7636, allocations: 211.2 kB / 0.744 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003416/0.767, allocations: 183.6 kB / 0.7442 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004236/0.7674, allocations: 288 kB / 0.7445 GB, free: 5.176 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (569): * Single equations (assignments): 566 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005791/0.768, allocations: 364.2 kB / 0.7448 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/0.7685, allocations: 217.2 kB / 0.745 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.7705, allocations: 1.176 MB / 0.7462 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/0.7705, allocations: 12 kB / 0.7462 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.7706, allocations: 0 / 0.7462 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.7706, allocations: 7.984 kB / 0.7462 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1907/0.9613, allocations: 4.124 MB / 0.7502 GB, free: 213.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/0.9614, allocations: 6.031 kB / 0.7502 GB, free: 213.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.9625, allocations: 184.7 kB / 0.7504 GB, free: 213.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/0.9625, allocations: 15.5 kB / 0.7504 GB, free: 213.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-05/0.9626, allocations: 18.14 kB / 0.7504 GB, free: 213.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.249e-05/0.9626, allocations: 11.53 kB / 0.7504 GB, free: 213.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.9626, allocations: 15.02 kB / 0.7505 GB, free: 213.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002352/0.965, allocations: 2.66 MB / 0.7531 GB, free: 212.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/0.9654, allocations: 282.1 kB / 0.7533 GB, free: 212 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/0.9657, allocations: 6.438 kB / 0.7533 GB, free: 212 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009385/0.9667, allocations: 44.72 kB / 0.7534 GB, free: 212 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.9668, allocations: 67.45 kB / 0.7534 GB, free: 212 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.479e-05/0.9669, allocations: 42.83 kB / 0.7535 GB, free: 212 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002068/0.969, allocations: 1.456 MB / 0.7549 GB, free: 211.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003465/0.9725, allocations: 0.5417 MB / 0.7554 GB, free: 211.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003839/0.9729, allocations: 160.6 kB / 0.7556 GB, free: 211.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004149/0.9771, allocations: 3.055 MB / 0.7586 GB, free: 211.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.9771, allocations: 0 / 0.7586 GB, free: 211.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008381/0.9779, allocations: 0.7496 MB / 0.7593 GB, free: 211.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.9793, allocations: 209.2 kB / 0.7595 GB, free: 211.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009346/0.9886, allocations: 4.669 MB / 0.7641 GB, free: 210.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002863/0.9916, allocations: 2.452 MB / 0.7665 GB, free: 210 MB / 0.5261 GB Notification: Performance of SimCode: time 1.273e-06/0.9916, allocations: 0 / 0.7665 GB, free: 210 MB / 0.5261 GB Notification: Performance of Templates: time 0.03766/1.029, allocations: 21.17 MB / 0.7871 GB, free: 209.1 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches