Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") [: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 3.2.3+maint.om/package.mo): time 0.0009187/0.0009187, allocations: 187.1 kB / 7.805 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.024/1.024, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008457/0.0008457, allocations: 87.45 kB / 261.4 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1533/0.1533, allocations: 43.49 MB / 352.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.207e-06/9.318e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2165, allocations: 58.85 MB / 476.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.3368, allocations: 108.3 MB / 0.5712 GB, free: 6.586 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.3371, allocations: 87.44 kB / 0.5712 GB, free: 6.504 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3548/0.692, allocations: 96.41 MB / 0.6654 GB, free: 109.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.975e-05/0.6921, allocations: 89.06 kB / 0.6655 GB, free: 109.1 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: 1897 * Number of variables: 1897 Notification: Performance of Generate backend data structure: time 0.009446/0.7016, allocations: 4.595 MB / 0.67 GB, free: 107.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.7016, allocations: 11.22 kB / 0.67 GB, free: 107.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.7138, allocations: 2.919 MB / 0.6728 GB, free: 106.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.7243, allocations: 4.959 MB / 0.6777 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.7244, allocations: 162 kB / 0.6778 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008249/0.7253, allocations: 296.7 kB / 0.6781 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01009/0.7354, allocations: 8.724 MB / 0.6866 GB, free: 104.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.7499, allocations: 11.44 MB / 0.6978 GB, free: 99.64 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.7501, allocations: 34.53 kB / 0.6978 GB, free: 99.62 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005339/0.7506, allocations: 16.38 kB / 0.6978 GB, free: 99.62 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00153/0.7521, allocations: 1.415 MB / 0.6992 GB, free: 99.37 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04558/0.7977, allocations: 40.4 MB / 0.7387 GB, free: 66.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003241/0.801, allocations: 2.973 MB / 0.7416 GB, free: 63.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/0.8032, allocations: 2.452 MB / 0.744 GB, free: 60.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/0.8149, allocations: 10.44 MB / 0.7542 GB, free: 49.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.815, allocations: 59.56 kB / 0.7542 GB, free: 49.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=237): time 4.709e-06/0.815, allocations: 4 kB / 0.7542 GB, free: 49.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=264): time 0.02663/0.8416, allocations: 15.62 MB / 0.7695 GB, free: 33.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.8417, allocations: 73.41 kB / 0.7696 GB, free: 33.87 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005395/0.8471, allocations: 2.854 MB / 0.7723 GB, free: 31.01 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.8473, allocations: 29.7 kB / 0.7724 GB, free: 30.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001507/0.8488, allocations: 3.291 MB / 0.7756 GB, free: 27.63 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006934/0.8495, allocations: 0.9752 MB / 0.7765 GB, free: 26.64 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004616/0.85, allocations: 0 / 0.7765 GB, free: 26.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003907/0.8504, allocations: 0.5992 MB / 0.7771 GB, free: 26.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/0.8531, allocations: 2.586 MB / 0.7797 GB, free: 23.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/0.8568, allocations: 6.212 MB / 0.7857 GB, free: 15.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003867/0.8607, allocations: 4.087 MB / 0.7897 GB, free: 11.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-05/0.8608, allocations: 39.94 kB / 0.7898 GB, free: 11.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=892) (initialization): time 0.01549/0.8763, allocations: 9.748 MB / 0.7993 GB, free: 1.566 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.8763, allocations: 4 kB / 0.7993 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.168e-05/0.8764, allocations: 128 kB / 0.7994 GB, free: 1.438 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008313/0.8847, allocations: 2.169 MB / 0.8015 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004417/0.8891, allocations: 1.478 MB / 0.803 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/0.9037, allocations: 9.319 MB / 0.8121 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003927/0.9077, allocations: 175.9 kB / 0.8122 GB, free: 4.172 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008147/0.9085, allocations: 399.9 kB / 0.8126 GB, free: 3.781 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring.e_rel_0[3]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[2]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[1]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 586 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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 (810): * Single equations (assignments): 802 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 5,3 24} Notification: Performance of prepare postOptimizeDAE: time 0.001139/0.9096, allocations: 449.5 kB / 0.813 GB, free: 3.336 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005881/0.9102, allocations: 311.9 kB / 0.8133 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00779/0.918, allocations: 4.86 MB / 0.8181 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.254e-05/0.9181, allocations: 47.98 kB / 0.8181 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.9181, allocations: 3.688 kB / 0.8181 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/0.9181, allocations: 7.969 kB / 0.8181 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/0.9363, allocations: 9.685 MB / 0.8276 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.9364, allocations: 0 / 0.8276 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/0.9384, allocations: 420.5 kB / 0.828 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002049/0.9405, allocations: 0.6422 MB / 0.8286 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/0.9407, allocations: 35.95 kB / 0.8287 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.9432, allocations: 2.3 MB / 0.8309 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9433, allocations: 4 kB / 0.8309 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1279/1.071, allocations: 7.477 MB / 0.8382 GB, free: 177 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/1.072, allocations: 358.8 kB / 0.8385 GB, free: 176.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004651/1.072, allocations: 15.84 kB / 0.8386 GB, free: 176.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/1.073, allocations: 67.23 kB / 0.8386 GB, free: 176.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/1.074, allocations: 123.8 kB / 0.8387 GB, free: 176.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/1.074, allocations: 78.36 kB / 0.8388 GB, free: 176.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001993/1.076, allocations: 1.875 MB / 0.8407 GB, free: 176.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003716/1.08, allocations: 1.026 MB / 0.8417 GB, free: 176.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 208 * 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.000364/1.08, allocations: 161.6 kB / 0.8418 GB, free: 176.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007186/1.087, allocations: 6.246 MB / 0.8479 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.087, allocations: 0 / 0.8479 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00338/1.091, allocations: 2.579 MB / 0.8504 GB, free: 176.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/1.092, allocations: 297.6 kB / 0.8507 GB, free: 176.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/1.106, allocations: 9.69 MB / 0.8602 GB, free: 174.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004514/1.111, allocations: 4.221 MB / 0.8643 GB, free: 173.7 MB / 0.4948 GB Notification: Performance of SimCode: time 9.01e-07/1.111, allocations: 0 / 0.8643 GB, free: 173.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.071/1.182, allocations: 44.83 MB / 0.9081 GB, free: 158.9 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit4/FreeMotionScalarInit4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches