Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") [: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.001135/0.001135, allocations: 178.9 kB / 7.802 MB, free: 1.211 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.045/1.045, allocations: 205.2 MB / 213.4 MB, free: 8.609 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008242/0.0008244, allocations: 93.59 kB / 261.4 MB, free: 5.059 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1559/0.1559, allocations: 43.49 MB / 352.8 MB, free: 11.38 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.402e-06, allocations: 224 / 417.7 MB, free: 68.23 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08388/0.0839, allocations: 58.85 MB / 476.6 MB, free: 9.328 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2511/0.3351, allocations: 103.8 MB / 0.5667 GB, free: 8.758 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.3354, allocations: 73.03 kB / 0.5668 GB, free: 8.723 MB / 386.8 MB Notification: Performance of FrontEnd: time 0.2089/0.5442, allocations: 92.7 MB / 0.6573 GB, free: 3.871 MB / 466.8 MB Notification: Performance of Transformations before backend: time 0.0002117/0.5445, allocations: 88 kB / 0.6574 GB, free: 3.785 MB / 466.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01538/0.5599, allocations: 4.396 MB / 0.6617 GB, free: 15.32 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.5599, allocations: 8.031 kB / 0.6617 GB, free: 15.32 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/0.5744, allocations: 2.887 MB / 0.6645 GB, free: 12.42 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.013/0.5874, allocations: 4.858 MB / 0.6693 GB, free: 7.508 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003147/0.5878, allocations: 155.9 kB / 0.6694 GB, free: 7.355 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002432/0.5902, allocations: 271.9 kB / 0.6697 GB, free: 7.09 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01423/0.6045, allocations: 8.246 MB / 0.6777 GB, free: 14.83 MB / 498.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02069/0.6252, allocations: 10.76 MB / 0.6882 GB, free: 3.594 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000204/0.6254, allocations: 39.64 kB / 0.6883 GB, free: 3.555 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001594/0.6271, allocations: 16 kB / 0.6883 GB, free: 3.539 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001588/0.6287, allocations: 1.314 MB / 0.6896 GB, free: 2.219 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2122/0.8409, allocations: 36.3 MB / 0.725 GB, free: 72.43 MB / 498.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.8437, allocations: 2.468 MB / 0.7274 GB, free: 72.41 MB / 498.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/0.8459, allocations: 2.209 MB / 0.7296 GB, free: 72.4 MB / 498.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.8568, allocations: 9.505 MB / 0.7389 GB, free: 69.16 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.8569, allocations: 55.7 kB / 0.7389 GB, free: 69.11 MB / 498.8 MB Notification: Performance of pre-optimization done (n=213): time 4.559e-06/0.8569, allocations: 0 / 0.7389 GB, free: 69.11 MB / 498.8 MB Notification: Performance of matching and sorting (n=233): time 0.0185/0.8754, allocations: 10.78 MB / 0.7494 GB, free: 68.17 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.8755, allocations: 77.53 kB / 0.7495 GB, free: 68.11 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/0.8788, allocations: 2.786 MB / 0.7522 GB, free: 67.79 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.8789, allocations: 25.7 kB / 0.7523 GB, free: 67.76 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.88, allocations: 3.157 MB / 0.7553 GB, free: 65.61 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005105/0.8806, allocations: 0.8622 MB / 0.7562 GB, free: 64.97 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.8808, allocations: 0 / 0.7562 GB, free: 64.97 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.881, allocations: 0.5814 MB / 0.7568 GB, free: 64.55 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/0.8834, allocations: 2.374 MB / 0.7591 GB, free: 63.76 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003442/0.8868, allocations: 5.9 MB / 0.7648 GB, free: 58.24 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003511/0.8903, allocations: 3.809 MB / 0.7686 GB, free: 57.16 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.245e-05/0.8904, allocations: 37.81 kB / 0.7686 GB, free: 57.16 MB / 498.8 MB Notification: Performance of matching and sorting (n=842) (initialization): time 0.01091/0.9013, allocations: 8.261 MB / 0.7767 GB, free: 54.73 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.9013, allocations: 3.781 kB / 0.7767 GB, free: 54.73 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.767e-05/0.9014, allocations: 123.1 kB / 0.7768 GB, free: 54.73 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003096/0.9045, allocations: 0.9415 MB / 0.7777 GB, free: 54.62 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003845/0.9084, allocations: 1.438 MB / 0.7791 GB, free: 54.45 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.9103, allocations: 2.364 MB / 0.7814 GB, free: 52.98 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003808/0.9141, allocations: 177.9 kB / 0.7816 GB, free: 52.97 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006681/0.9148, allocations: 377 kB / 0.7819 GB, free: 52.92 MB / 498.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (789): * Single equations (assignments): 780 * 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 prepare postOptimizeDAE: time 0.0008775/0.9157, allocations: 419.3 kB / 0.7823 GB, free: 52.57 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005951/0.9163, allocations: 298.8 kB / 0.7826 GB, free: 52.4 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008686/0.925, allocations: 4.521 MB / 0.787 GB, free: 51 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-05/0.9251, allocations: 37.34 kB / 0.7871 GB, free: 51 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.9251, allocations: 10.03 kB / 0.7871 GB, free: 50.99 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.9251, allocations: 14.53 kB / 0.7871 GB, free: 50.99 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01821/0.9433, allocations: 8.979 MB / 0.7959 GB, free: 48.07 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.9434, allocations: 1.344 kB / 0.7959 GB, free: 48.07 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.945, allocations: 340 kB / 0.7962 GB, free: 48.04 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003075/0.9481, allocations: 0.7673 MB / 0.7969 GB, free: 47.92 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002647/0.9484, allocations: 21.25 kB / 0.797 GB, free: 47.91 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.9505, allocations: 2.132 MB / 0.799 GB, free: 46.5 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.9505, allocations: 5 kB / 0.7991 GB, free: 46.5 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01032/0.9609, allocations: 6.87 MB / 0.8058 GB, free: 43.21 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000827/0.9617, allocations: 340.2 kB / 0.8061 GB, free: 42.87 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007445/0.9625, allocations: 12 kB / 0.8061 GB, free: 42.86 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.9639, allocations: 57.41 kB / 0.8062 GB, free: 42.82 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.9641, allocations: 98.34 kB / 0.8062 GB, free: 42.77 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.9643, allocations: 63.59 kB / 0.8063 GB, free: 42.72 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.002873/0.9672, allocations: 1.837 MB / 0.8081 GB, free: 41.12 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.004327/0.9715, allocations: 0.9194 MB / 0.809 GB, free: 40.21 MB / 498.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 177 * 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.0004572/0.972, allocations: 155 kB / 0.8091 GB, free: 40.07 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.008072/0.9801, allocations: 6.006 MB / 0.815 GB, free: 34.59 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.9801, allocations: 0 / 0.815 GB, free: 34.59 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003351/0.9835, allocations: 2.364 MB / 0.8173 GB, free: 32.43 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.9853, allocations: 332.9 kB / 0.8176 GB, free: 32.16 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/1.003, allocations: 9.234 MB / 0.8267 GB, free: 23.93 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006218/1.009, allocations: 4.04 MB / 0.8306 GB, free: 20.79 MB / 498.8 MB Notification: Performance of SimCode: time 1.042e-06/1.009, allocations: 0 / 0.8306 GB, free: 20.79 MB / 498.8 MB Notification: Performance of Templates: time 0.06392/1.073, allocations: 38.09 MB / 0.8678 GB, free: 3.629 MB / 0.5027 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches