Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.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.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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0008904/0.0008905, allocations: 192.4 kB / 7.802 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 0.9652/0.9652, allocations: 205.2 MB / 213.4 MB, free: 13.83 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.0007597/0.0007598, allocations: 84.91 kB / 261.4 MB, free: 13.51 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.1462/0.1462, allocations: 43.49 MB / 352.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.841e-06, allocations: 4 kB / 417.7 MB, free: 40.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2107, allocations: 58.83 MB / 476.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.325, allocations: 103.6 MB / 0.5665 GB, free: 11.31 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.3252, allocations: 75.97 kB / 0.5666 GB, free: 11.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3505/0.6757, allocations: 89.18 MB / 0.6537 GB, free: 109 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.6759, allocations: 84.52 kB / 0.6538 GB, free: 109 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: 1720 * Number of variables: 1720 Notification: Performance of Generate backend data structure: time 0.009817/0.6857, allocations: 4.195 MB / 0.6579 GB, free: 107.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.6858, allocations: 7.594 kB / 0.6579 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01272/0.6985, allocations: 2.875 MB / 0.6607 GB, free: 106.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.7091, allocations: 4.744 MB / 0.6653 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.7092, allocations: 146.2 kB / 0.6655 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007477/0.71, allocations: 256.7 kB / 0.6657 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01027/0.7203, allocations: 8.124 MB / 0.6736 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/0.7366, allocations: 10.56 MB / 0.684 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001984/0.7368, allocations: 24.69 kB / 0.684 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/0.7381, allocations: 12.38 kB / 0.684 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001886/0.74, allocations: 1.341 MB / 0.6853 GB, free: 102.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05365/0.7937, allocations: 35.96 MB / 0.7204 GB, free: 80.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/0.7972, allocations: 2.746 MB / 0.7231 GB, free: 78.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.7998, allocations: 2.296 MB / 0.7253 GB, free: 76.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/0.8136, allocations: 9.732 MB / 0.7348 GB, free: 67.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.8137, allocations: 52.48 kB / 0.7349 GB, free: 67.31 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 5.681e-06/0.8137, allocations: 0 / 0.7349 GB, free: 67.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=234): time 0.02622/0.84, allocations: 11.17 MB / 0.7458 GB, free: 57.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.8401, allocations: 69.41 kB / 0.7459 GB, free: 57.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00509/0.8452, allocations: 2.664 MB / 0.7485 GB, free: 55.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003228/0.8455, allocations: 29.7 kB / 0.7485 GB, free: 55.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.8471, allocations: 3.036 MB / 0.7515 GB, free: 52.04 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008914/0.848, allocations: 0.8595 MB / 0.7523 GB, free: 51.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005021/0.8485, allocations: 0 / 0.7523 GB, free: 51.17 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004581/0.849, allocations: 0.5667 MB / 0.7528 GB, free: 50.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003046/0.852, allocations: 2.371 MB / 0.7552 GB, free: 48.22 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004344/0.8564, allocations: 5.756 MB / 0.7608 GB, free: 40.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0046/0.861, allocations: 3.762 MB / 0.7645 GB, free: 37.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.663e-05/0.8611, allocations: 36 kB / 0.7645 GB, free: 36.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01274/0.8738, allocations: 8.123 MB / 0.7724 GB, free: 28.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.8739, allocations: 14.47 kB / 0.7724 GB, free: 28.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/0.874, allocations: 120.9 kB / 0.7726 GB, free: 28.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00323/0.8773, allocations: 0.8999 MB / 0.7734 GB, free: 27.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004422/0.8817, allocations: 1.408 MB / 0.7748 GB, free: 26.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.8838, allocations: 2.351 MB / 0.7771 GB, free: 23.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004761/0.8886, allocations: 179.8 kB / 0.7773 GB, free: 23.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/0.8898, allocations: 372 kB / 0.7776 GB, free: 23.39 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 (769): * Single equations (assignments): 760 * 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.001418/0.8913, allocations: 413.1 kB / 0.778 GB, free: 22.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005505/0.8918, allocations: 292.2 kB / 0.7783 GB, free: 22.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007507/0.8993, allocations: 4.556 MB / 0.7828 GB, free: 18.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-05/0.8994, allocations: 35.98 kB / 0.7828 GB, free: 18.08 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.8994, allocations: 0 / 0.7828 GB, free: 18.08 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.8995, allocations: 7.969 kB / 0.7828 GB, free: 18.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.9147, allocations: 8.845 MB / 0.7914 GB, free: 9.191 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.9148, allocations: 4 kB / 0.7914 GB, free: 9.188 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.9164, allocations: 347.5 kB / 0.7918 GB, free: 8.848 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002529/0.9189, allocations: 0.5332 MB / 0.7923 GB, free: 8.305 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/0.9191, allocations: 27.97 kB / 0.7923 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.9207, allocations: 1.935 MB / 0.7942 GB, free: 6.227 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.9207, allocations: 7.938 kB / 0.7942 GB, free: 6.219 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008073/0.9288, allocations: 6.774 MB / 0.8008 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006454/0.9294, allocations: 341.3 kB / 0.8012 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006511/0.9301, allocations: 15.98 kB / 0.8012 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.9315, allocations: 51.92 kB / 0.8012 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.9317, allocations: 109.7 kB / 0.8013 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/0.9319, allocations: 67.97 kB / 0.8014 GB, free: 14.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00243/0.9344, allocations: 1.752 MB / 0.8031 GB, free: 12.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004216/0.9386, allocations: 0.8906 MB / 0.804 GB, free: 12.07 MB / 490.7 MB 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 (187): * Single equations (assignments): 178 * 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.0004049/0.939, allocations: 159.3 kB / 0.8041 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008355/0.9474, allocations: 5.912 MB / 0.8099 GB, free: 5.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.9474, allocations: 0 / 0.8099 GB, free: 5.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003419/0.9508, allocations: 2.271 MB / 0.8121 GB, free: 3.656 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.9524, allocations: 268.6 kB / 0.8124 GB, free: 3.398 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/0.97, allocations: 8.998 MB / 0.8212 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005054/0.9751, allocations: 3.906 MB / 0.825 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of SimCode: time 1.242e-06/0.9752, allocations: 0 / 0.825 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of Templates: time 0.2/1.175, allocations: 36.76 MB / 0.8609 GB, free: 173 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit2/FreeMotionScalarInit2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches