Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.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.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") [: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.001168/0.001168, allocations: 194.9 kB / 8.539 MB, free: 1.809 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.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009263/0.0009264, allocations: 94.28 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 45.13 MB / 383.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.242e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3658/0.4815, allocations: 105.5 MB / 0.6068 GB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.4818, allocations: 73.84 kB / 0.6069 GB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2302/0.712, allocations: 88.86 MB / 0.6937 GB, free: 12.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002754/0.7124, allocations: 76 kB / 0.6937 GB, free: 12.86 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1672 * Number of variables: 1672 Notification: Performance of Generate backend data structure: time 0.01813/0.7305, allocations: 4.218 MB / 0.6979 GB, free: 8.574 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.7306, allocations: 8.031 kB / 0.6979 GB, free: 8.566 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/0.7452, allocations: 2.845 MB / 0.7006 GB, free: 5.711 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.7566, allocations: 4.007 MB / 0.7046 GB, free: 1.652 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.7569, allocations: 140 kB / 0.7047 GB, free: 1.516 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.759, allocations: 252 kB / 0.7049 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01382/0.7728, allocations: 7.89 MB / 0.7126 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/0.7943, allocations: 10.28 MB / 0.7227 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002302/0.7946, allocations: 23.75 kB / 0.7227 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002086/0.7967, allocations: 16 kB / 0.7227 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001845/0.7986, allocations: 1.286 MB / 0.724 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2205/1.019, allocations: 35.12 MB / 0.7583 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/1.022, allocations: 2.703 MB / 0.7609 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002252/1.025, allocations: 2.26 MB / 0.7631 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/1.037, allocations: 9.592 MB / 0.7725 GB, free: 183.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/1.037, allocations: 54.69 kB / 0.7725 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=204): time 4.409e-06/1.037, allocations: 0 / 0.7725 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=225): time 0.02343/1.06, allocations: 11.12 MB / 0.7834 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/1.061, allocations: 68.56 kB / 0.7835 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/1.064, allocations: 2.608 MB / 0.786 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002429/1.064, allocations: 25.7 kB / 0.786 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/1.065, allocations: 2.944 MB / 0.7889 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006441/1.066, allocations: 0.8334 MB / 0.7897 GB, free: 180.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/1.066, allocations: 0 / 0.7897 GB, free: 180.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002381/1.066, allocations: 0.5648 MB / 0.7903 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002442/1.069, allocations: 2.311 MB / 0.7925 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003462/1.072, allocations: 5.602 MB / 0.798 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003694/1.076, allocations: 3.667 MB / 0.8016 GB, free: 175.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.876e-05/1.076, allocations: 36.69 kB / 0.8016 GB, free: 175.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01226/1.088, allocations: 7.935 MB / 0.8094 GB, free: 173.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/1.088, allocations: 7.344 kB / 0.8094 GB, free: 173.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/1.088, allocations: 117.1 kB / 0.8095 GB, free: 173.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003261/1.092, allocations: 0.8955 MB / 0.8104 GB, free: 173.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004891/1.097, allocations: 1.352 MB / 0.8117 GB, free: 173 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/1.099, allocations: 2.353 MB / 0.814 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004436/1.103, allocations: 168.7 kB / 0.8141 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008362/1.104, allocations: 358.2 kB / 0.8145 GB, free: 171.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 532 * Number of states: 0 () * Number of discrete variables: 26 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 735 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008041/1.105, allocations: 414.2 kB / 0.8149 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/1.105, allocations: 274.5 kB / 0.8151 GB, free: 171 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008286/1.114, allocations: 4.455 MB / 0.8195 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.546e-05/1.114, allocations: 33.56 kB / 0.8195 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/1.114, allocations: 2.969 kB / 0.8195 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/1.114, allocations: 11.39 kB / 0.8195 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/1.129, allocations: 8.646 MB / 0.828 GB, free: 163.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.129, allocations: 4 kB / 0.828 GB, free: 163.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.131, allocations: 329.5 kB / 0.8283 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002691/1.134, allocations: 0.5336 MB / 0.8288 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003675/1.134, allocations: 30.16 kB / 0.8288 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/1.136, allocations: 1.937 MB / 0.8307 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.136, allocations: 0 / 0.8307 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008887/1.145, allocations: 6.644 MB / 0.8372 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000794/1.146, allocations: 323.8 kB / 0.8375 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004917/1.146, allocations: 15.91 kB / 0.8375 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.147, allocations: 52.45 kB / 0.8376 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/1.148, allocations: 108.5 kB / 0.8377 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/1.148, allocations: 63.08 kB / 0.8378 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002195/1.15, allocations: 1.707 MB / 0.8394 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004065/1.154, allocations: 0.8723 MB / 0.8403 GB, free: 151.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 168 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004795/1.155, allocations: 159.9 kB / 0.8404 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008236/1.163, allocations: 5.78 MB / 0.8461 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.163, allocations: 3.812 kB / 0.8461 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003239/1.166, allocations: 2.223 MB / 0.8482 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/1.168, allocations: 285 kB / 0.8485 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/1.183, allocations: 8.734 MB / 0.857 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004389/1.188, allocations: 3.822 MB / 0.8608 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/1.188, allocations: 0 / 0.8608 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.05784/1.246, allocations: 35.93 MB / 0.8959 GB, free: 103.6 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit2/FreeMotionScalarInit2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches