Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") [: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.000969/0.0009691, allocations: 175.6 kB / 8.517 MB, free: 1.859 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.273/1.273, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.000853/0.0008531, allocations: 84.67 kB / 281.2 MB, free: 5.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1762/0.1762, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.314e-06/7.334e-06, allocations: 4.219 kB / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 61.91 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.506, allocations: 102.6 MB / 0.5943 GB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.5063, allocations: 83.94 kB / 0.5943 GB, free: 10.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2069/0.7132, allocations: 82.36 MB / 0.6748 GB, free: 7.062 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001137/0.7134, allocations: 72 kB / 0.6748 GB, free: 6.992 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.009559/0.723, allocations: 3.381 MB / 0.6781 GB, free: 3.551 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.723, allocations: 17.22 kB / 0.6782 GB, free: 3.535 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.7369, allocations: 2.779 MB / 0.6809 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.7482, allocations: 4.077 MB / 0.6849 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.7483, allocations: 128 kB / 0.685 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/0.7495, allocations: 215.9 kB / 0.6852 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01114/0.7607, allocations: 7.083 MB / 0.6921 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2124/0.9731, allocations: 9.211 MB / 0.7011 GB, free: 179.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.9733, allocations: 20.06 kB / 0.7011 GB, free: 179.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005249/0.9738, allocations: 11.06 kB / 0.7011 GB, free: 179.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001228/0.9751, allocations: 1.211 MB / 0.7023 GB, free: 179.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03777/1.013, allocations: 29.39 MB / 0.731 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/1.015, allocations: 1.532 MB / 0.7325 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/1.016, allocations: 1.047 MB / 0.7335 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008418/1.025, allocations: 6.274 MB / 0.7397 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/1.025, allocations: 54.48 kB / 0.7397 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=154): time 3.857e-06/1.025, allocations: 0 / 0.7397 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.01251/1.037, allocations: 6.859 MB / 0.7464 GB, free: 161.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/1.037, allocations: 68.5 kB / 0.7465 GB, free: 161.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/1.04, allocations: 2.446 MB / 0.7489 GB, free: 161 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.664e-05/1.041, allocations: 28.05 kB / 0.7489 GB, free: 160.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/1.042, allocations: 2.747 MB / 0.7516 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/1.042, allocations: 0.5907 MB / 0.7521 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/1.042, allocations: 0 / 0.7521 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002619/1.042, allocations: 0.5862 MB / 0.7527 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/1.044, allocations: 1.546 MB / 0.7542 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003036/1.047, allocations: 4.584 MB / 0.7587 GB, free: 153 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/1.05, allocations: 2.744 MB / 0.7614 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.372e-05/1.05, allocations: 31.25 kB / 0.7614 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=687) (initialization): time 0.007246/1.058, allocations: 5.512 MB / 0.7668 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.058, allocations: 7.781 kB / 0.7668 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.123e-05/1.058, allocations: 114.1 kB / 0.7669 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003013/1.058, allocations: 199.7 kB / 0.7671 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/1.061, allocations: 1.133 MB / 0.7682 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/1.063, allocations: 1.604 MB / 0.7698 GB, free: 149 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003289/1.066, allocations: 116.7 kB / 0.7699 GB, free: 149 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005883/1.067, allocations: 313 kB / 0.7702 GB, free: 149 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 496 * Number of states: 0 () * Number of discrete variables: 29 (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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[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 (635): * Single equations (assignments): 628 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005965/1.067, allocations: 375.2 kB / 0.7705 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/1.068, allocations: 248.5 kB / 0.7708 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006276/1.068, allocations: 315.1 kB / 0.7711 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.816e-05/1.068, allocations: 10.81 kB / 0.7711 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/1.068, allocations: 1.312 kB / 0.7711 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.068, allocations: 6.234 kB / 0.7711 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/1.08, allocations: 5.167 MB / 0.7761 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/1.08, allocations: 3.656 kB / 0.7761 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009886/1.081, allocations: 190 kB / 0.7763 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/1.081, allocations: 47.33 kB / 0.7764 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-05/1.082, allocations: 11.75 kB / 0.7764 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009414/1.082, allocations: 1.402 MB / 0.7778 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.082, allocations: 7.516 kB / 0.7778 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003814/1.086, allocations: 3.687 MB / 0.7814 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006583/1.087, allocations: 303.6 kB / 0.7816 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/1.087, allocations: 8.062 kB / 0.7817 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007019/1.088, allocations: 19.69 kB / 0.7817 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.088, allocations: 62.61 kB / 0.7817 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.816e-05/1.088, allocations: 47.42 kB / 0.7818 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002307/1.091, allocations: 1.615 MB / 0.7834 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003875/1.094, allocations: 0.7108 MB / 0.7841 GB, free: 139 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000356/1.095, allocations: 156.4 kB / 0.7842 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004534/1.099, allocations: 3.66 MB / 0.7878 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.099, allocations: 4.062 kB / 0.7878 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.1, allocations: 1.052 MB / 0.7888 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/1.102, allocations: 203.1 kB / 0.789 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/1.114, allocations: 6.605 MB / 0.7955 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003456/1.117, allocations: 3.431 MB / 0.7988 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/1.117, allocations: 0 / 0.7988 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.04921/1.166, allocations: 24.21 MB / 0.8224 GB, free: 105.8 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches