Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 183.6 kB / 8.52 MB, free: 1.77 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 221.4 MB / 230.3 MB, free: 3.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009229/0.0009228, allocations: 96.47 kB / 281.2 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3167/0.3167, allocations: 44.14 MB / 376.1 MB, free: 43.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.126e-05/1.129e-05, allocations: 4 kB / 444 MB, free: 11.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3121, allocations: 61.91 MB / 0.4941 GB, free: 42.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.4411, allocations: 104.6 MB / 0.5963 GB, free: 12.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.4414, allocations: 67.97 kB / 0.5963 GB, free: 12.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.2315/0.6729, allocations: 88.02 MB / 0.6823 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001332/0.6731, allocations: 76 kB / 0.6824 GB, free: 3.945 MB / 0.4948 GB 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.1671/0.8402, allocations: 4.104 MB / 0.6864 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.8402, allocations: 7 kB / 0.6864 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/0.8545, allocations: 2.849 MB / 0.6891 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.8658, allocations: 4.542 MB / 0.6936 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.8661, allocations: 141.9 kB / 0.6937 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002013/0.8681, allocations: 251.9 kB / 0.694 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0127/0.8808, allocations: 7.895 MB / 0.7017 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01835/0.8992, allocations: 10.27 MB / 0.7117 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.8993, allocations: 28.56 kB / 0.7117 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006113/0.8999, allocations: 15.47 kB / 0.7117 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00117/0.9011, allocations: 1.295 MB / 0.713 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0408/0.9419, allocations: 35.13 MB / 0.7473 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003795/0.9458, allocations: 2.708 MB / 0.75 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/0.9483, allocations: 2.261 MB / 0.7522 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01262/0.9609, allocations: 9.583 MB / 0.7615 GB, free: 140 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.961, allocations: 60.89 kB / 0.7616 GB, free: 140 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=204): time 5.491e-06/0.961, allocations: 0 / 0.7616 GB, free: 140 MB / 0.4948 GB Notification: Performance of matching and sorting (n=225): time 0.02542/0.9865, allocations: 11.12 MB / 0.7724 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.9865, allocations: 70.28 kB / 0.7725 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003989/0.9905, allocations: 2.595 MB / 0.775 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003391/0.9909, allocations: 28.45 kB / 0.7751 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.9921, allocations: 2.951 MB / 0.778 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007563/0.9928, allocations: 0.835 MB / 0.7788 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.9931, allocations: 0 / 0.7788 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002419/0.9933, allocations: 0.5592 MB / 0.7793 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/0.9958, allocations: 2.307 MB / 0.7816 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/0.9994, allocations: 5.61 MB / 0.7871 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/1.003, allocations: 3.67 MB / 0.7906 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.405e-05/1.003, allocations: 32 kB / 0.7907 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01251/1.016, allocations: 7.928 MB / 0.7984 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.016, allocations: 4 kB / 0.7984 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/1.016, allocations: 124.8 kB / 0.7985 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003352/1.019, allocations: 0.8927 MB / 0.7994 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004724/1.024, allocations: 1.355 MB / 0.8007 GB, free: 110 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/1.026, allocations: 2.365 MB / 0.803 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/1.031, allocations: 176.8 kB / 0.8032 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/1.032, allocations: 353.3 kB / 0.8035 GB, free: 107.3 MB / 0.4948 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.0009359/1.033, allocations: 396.8 kB / 0.8039 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005477/1.033, allocations: 280.9 kB / 0.8042 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007247/1.041, allocations: 4.462 MB / 0.8085 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-05/1.041, allocations: 35.33 kB / 0.8086 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.041, allocations: 0 / 0.8086 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/1.041, allocations: 9.891 kB / 0.8086 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/1.055, allocations: 8.641 MB / 0.817 GB, free: 95.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.055, allocations: 4 kB / 0.817 GB, free: 95.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.057, allocations: 329.9 kB / 0.8173 GB, free: 95.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/1.059, allocations: 0.5397 MB / 0.8179 GB, free: 95.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/1.06, allocations: 22.52 kB / 0.8179 GB, free: 95.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/1.061, allocations: 1.938 MB / 0.8198 GB, free: 93.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.061, allocations: 7.938 kB / 0.8198 GB, free: 93.17 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008683/1.07, allocations: 6.631 MB / 0.8263 GB, free: 87.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007074/1.071, allocations: 333.3 kB / 0.8266 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004588/1.071, allocations: 4.562 kB / 0.8266 GB, free: 86.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.072, allocations: 53.28 kB / 0.8266 GB, free: 86.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/1.073, allocations: 105.7 kB / 0.8267 GB, free: 86.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/1.073, allocations: 62.28 kB / 0.8268 GB, free: 86.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002145/1.075, allocations: 1.716 MB / 0.8285 GB, free: 85.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004021/1.079, allocations: 0.8657 MB / 0.8293 GB, free: 84.31 MB / 0.4948 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.0003729/1.079, allocations: 156.8 kB / 0.8295 GB, free: 84.17 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008028/1.087, allocations: 5.78 MB / 0.8351 GB, free: 78.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/1.087, allocations: 0 / 0.8351 GB, free: 78.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003191/1.091, allocations: 2.232 MB / 0.8373 GB, free: 76.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/1.092, allocations: 279.6 kB / 0.8376 GB, free: 76.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/1.106, allocations: 8.741 MB / 0.8461 GB, free: 67.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004181/1.11, allocations: 3.812 MB / 0.8498 GB, free: 63.47 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/1.11, allocations: 0 / 0.8498 GB, free: 63.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.05784/1.168, allocations: 35.94 MB / 0.8849 GB, free: 28.51 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches