Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001722/0.001726, allocations: 181.9 kB / 8.153 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001646/0.001646, allocations: 93.52 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2821/0.2821, allocations: 43.48 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.082e-05/1.092e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2759, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2506/0.5266, allocations: 103.6 MB / 0.5665 GB, free: 11.47 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.5269, allocations: 79.47 kB / 0.5666 GB, free: 11.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5781/1.105, allocations: 88.85 MB / 0.6534 GB, free: 89.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001789/1.105, allocations: 75.84 kB / 0.6534 GB, free: 89.77 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.0212/1.126, allocations: 4.152 MB / 0.6575 GB, free: 87.99 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.127, allocations: 7.375 kB / 0.6575 GB, free: 87.99 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02512/1.152, allocations: 2.85 MB / 0.6603 GB, free: 87.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01828/1.17, allocations: 4.731 MB / 0.6649 GB, free: 87.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/1.17, allocations: 140.1 kB / 0.665 GB, free: 87.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002676/1.173, allocations: 257.3 kB / 0.6653 GB, free: 87.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01985/1.193, allocations: 7.968 MB / 0.6731 GB, free: 87.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02908/1.222, allocations: 10.38 MB / 0.6832 GB, free: 85.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002401/1.222, allocations: 33.3 kB / 0.6832 GB, free: 85.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002552/1.225, allocations: 13.25 kB / 0.6832 GB, free: 85.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003001/1.228, allocations: 1.311 MB / 0.6845 GB, free: 85.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07823/1.306, allocations: 35.26 MB / 0.719 GB, free: 67.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006012/1.312, allocations: 2.67 MB / 0.7216 GB, free: 65.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004629/1.317, allocations: 2.202 MB / 0.7237 GB, free: 64.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02366/1.341, allocations: 9.491 MB / 0.733 GB, free: 55.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/1.341, allocations: 43.88 kB / 0.733 GB, free: 55.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 5.65e-06/1.341, allocations: 0 / 0.733 GB, free: 55.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=240): time 0.04185/1.383, allocations: 10.36 MB / 0.7431 GB, free: 45.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/1.383, allocations: 77.31 kB / 0.7432 GB, free: 45.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006226/1.389, allocations: 2.661 MB / 0.7458 GB, free: 42.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005884/1.39, allocations: 25.7 kB / 0.7458 GB, free: 42.85 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/1.392, allocations: 3.011 MB / 0.7488 GB, free: 39.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001427/1.393, allocations: 0.8943 MB / 0.7497 GB, free: 38.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007572/1.394, allocations: 0 / 0.7497 GB, free: 38.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004883/1.395, allocations: 0.5754 MB / 0.7502 GB, free: 38.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005924/1.4, allocations: 2.406 MB / 0.7526 GB, free: 35.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008148/1.409, allocations: 5.796 MB / 0.7582 GB, free: 28.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008717/1.417, allocations: 3.817 MB / 0.762 GB, free: 24.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001454/1.418, allocations: 32 kB / 0.762 GB, free: 24.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02594/1.444, allocations: 8.196 MB / 0.77 GB, free: 16.35 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.444, allocations: 8.031 kB / 0.77 GB, free: 16.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/1.444, allocations: 120 kB / 0.7701 GB, free: 16.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006994/1.451, allocations: 0.9073 MB / 0.771 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009437/1.46, allocations: 1.423 MB / 0.7724 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000193/1.461, allocations: 235.1 kB / 0.7726 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006016/1.467, allocations: 171.8 kB / 0.7728 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.468, allocations: 383.1 kB / 0.7731 GB, free: 13.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 548 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (775): * Single equations (assignments): 766 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001571/1.47, allocations: 330.5 kB / 0.7735 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007508/1.471, allocations: 292.2 kB / 0.7737 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01632/1.487, allocations: 4.681 MB / 0.7783 GB, free: 7.797 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001371/1.487, allocations: 39.98 kB / 0.7783 GB, free: 7.758 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/1.487, allocations: 0 / 0.7783 GB, free: 7.758 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.036e-05/1.487, allocations: 7.969 kB / 0.7783 GB, free: 7.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02999/1.517, allocations: 9.122 MB / 0.7873 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.079e-05/1.517, allocations: 0 / 0.7873 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004131/1.521, allocations: 355.5 kB / 0.7876 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007025/1.528, allocations: 0.767 MB / 0.7883 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000657/1.529, allocations: 31.95 kB / 0.7884 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004296/1.533, allocations: 2.136 MB / 0.7905 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.533, allocations: 0 / 0.7905 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02109/1.555, allocations: 7.067 MB / 0.7974 GB, free: 4.051 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.556, allocations: 337.2 kB / 0.7977 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007996/1.557, allocations: 12 kB / 0.7977 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002528/1.559, allocations: 71.8 kB / 0.7978 GB, free: 3.617 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004309/1.56, allocations: 101.8 kB / 0.7979 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003175/1.56, allocations: 71.95 kB / 0.7979 GB, free: 3.449 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.004151/1.564, allocations: 1.752 MB / 0.7996 GB, free: 1.695 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006414/1.57, allocations: 0.8867 MB / 0.8005 GB, free: 0.8086 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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.000661/1.571, allocations: 162.3 kB / 0.8007 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01792/1.589, allocations: 6.157 MB / 0.8067 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.589, allocations: 0 / 0.8067 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01042/1.6, allocations: 2.45 MB / 0.8091 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/1.604, allocations: 267.6 kB / 0.8093 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04703/1.651, allocations: 9.549 MB / 0.8186 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02372/1.675, allocations: 3.909 MB / 0.8225 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of SimCode: time 2.244e-06/1.675, allocations: 4 kB / 0.8225 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.3618/2.036, allocations: 115.1 MB / 0.9349 GB, free: 138.9 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches