Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.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.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation") [: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.001129/0.001128, allocations: 200 kB / 8.539 MB, free: 1.75 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008364/0.0008364, allocations: 94.61 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 45.14 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.822e-06/6.853e-06, allocations: 0 / 452.6 MB, free: 76.22 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 63.24 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3495/0.4511, allocations: 97.64 MB / 0.5991 GB, free: 5.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.4513, allocations: 71.08 kB / 0.5992 GB, free: 5.395 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1708/0.6221, allocations: 69.2 MB / 0.6668 GB, free: 8.543 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001186/0.6223, allocations: 64 kB / 0.6668 GB, free: 8.48 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.008898/0.6312, allocations: 3.069 MB / 0.6698 GB, free: 5.352 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.6313, allocations: 8.031 kB / 0.6698 GB, free: 5.344 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/0.646, allocations: 2.705 MB / 0.6725 GB, free: 2.629 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00674/0.6527, allocations: 2.122 MB / 0.6746 GB, free: 468 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.653, allocations: 116 kB / 0.6747 GB, free: 352 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.6546, allocations: 212 kB / 0.6749 GB, free: 140 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0118/0.6665, allocations: 6.579 MB / 0.6813 GB, free: 9.555 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.6833, allocations: 8.913 MB / 0.69 GB, free: 164 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.038e-05/0.6834, allocations: 31.75 kB / 0.69 GB, free: 132 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005158/0.6839, allocations: 12 kB / 0.69 GB, free: 120 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00122/0.6851, allocations: 1.14 MB / 0.6912 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03726/0.7224, allocations: 29.47 MB / 0.7199 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.7256, allocations: 2.772 MB / 0.7226 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.7267, allocations: 0.8556 MB / 0.7235 GB, free: 13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.453e-05/0.7267, allocations: 12.77 kB / 0.7235 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.7268, allocations: 51.28 kB / 0.7235 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=142): time 3.236e-06/0.7268, allocations: 0 / 0.7235 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=142): time 0.004638/0.7314, allocations: 2.258 MB / 0.7257 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.7315, allocations: 64.19 kB / 0.7258 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003924/0.7354, allocations: 2.415 MB / 0.7282 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.7356, allocations: 25.7 kB / 0.7282 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001651/0.7373, allocations: 2.717 MB / 0.7308 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006379/0.7379, allocations: 0.5399 MB / 0.7314 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.7381, allocations: 4 kB / 0.7314 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003674/0.7385, allocations: 0.5727 MB / 0.7319 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.7405, allocations: 1.513 MB / 0.7334 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003763/0.7443, allocations: 4.641 MB / 0.7379 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003328/0.7477, allocations: 2.742 MB / 0.7406 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.407e-05/0.7477, allocations: 32 kB / 0.7406 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of matching and sorting (n=679) (initialization): time 0.008957/0.7567, allocations: 5.45 MB / 0.746 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.7567, allocations: 4 kB / 0.746 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/0.7569, allocations: 112 kB / 0.7461 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.757, allocations: 164 kB / 0.7462 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/0.7604, allocations: 1.131 MB / 0.7473 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000146/0.7605, allocations: 223.1 kB / 0.7476 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00374/0.7643, allocations: 0.5636 MB / 0.7481 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006042/0.7649, allocations: 316 kB / 0.7484 GB, free: 1.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (631): * Single equations (assignments): 625 * Array equations: 6 * 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.0006779/0.7656, allocations: 384.7 kB / 0.7488 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/0.766, allocations: 232.9 kB / 0.749 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005822/0.7666, allocations: 293 kB / 0.7493 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.494e-05/0.7667, allocations: 8 kB / 0.7493 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.7667, allocations: 4 kB / 0.7493 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.7667, allocations: 7.984 kB / 0.7493 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.171/0.9377, allocations: 5.716 MB / 0.7549 GB, free: 208 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.9377, allocations: 3.906 kB / 0.7549 GB, free: 208 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006503/0.9384, allocations: 160.1 kB / 0.755 GB, free: 208 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.9384, allocations: 11.12 kB / 0.755 GB, free: 208 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/0.9385, allocations: 11.53 kB / 0.7551 GB, free: 208 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.9385, allocations: 18.52 kB / 0.7551 GB, free: 208 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.9385, allocations: 6.812 kB / 0.7551 GB, free: 208 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002059/0.9406, allocations: 2.529 MB / 0.7576 GB, free: 207.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.941, allocations: 324.9 kB / 0.7579 GB, free: 206.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.9413, allocations: 10.83 kB / 0.7579 GB, free: 206.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006478/0.942, allocations: 18.88 kB / 0.7579 GB, free: 206.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.9421, allocations: 65.22 kB / 0.758 GB, free: 206.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.721e-05/0.9422, allocations: 48.25 kB / 0.758 GB, free: 206.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001798/0.944, allocations: 1.584 MB / 0.7595 GB, free: 206.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003499/0.9475, allocations: 0.9609 MB / 0.7605 GB, free: 206.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 6 * 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.0003304/0.9479, allocations: 131.1 kB / 0.7606 GB, free: 206.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00434/0.9522, allocations: 3.482 MB / 0.764 GB, free: 206.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.9522, allocations: 0 / 0.764 GB, free: 206.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008819/0.9531, allocations: 0.8834 MB / 0.7649 GB, free: 206.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000993/0.9541, allocations: 180.8 kB / 0.765 GB, free: 206.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.9668, allocations: 6.233 MB / 0.7711 GB, free: 205.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003546/0.9704, allocations: 3.305 MB / 0.7744 GB, free: 204.4 MB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/0.9704, allocations: 0 / 0.7744 GB, free: 204.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.04363/1.014, allocations: 22.1 MB / 0.7959 GB, free: 203.4 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches