Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0008697/0.0008697, allocations: 186.9 kB / 7.8 MB, free: 2.5 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.9791/0.9791, allocations: 205.2 MB / 213.4 MB, free: 13.9 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.0007945/0.0007945, allocations: 86.3 kB / 261.4 MB, free: 13.53 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.1532/0.1532, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.57e-06/5.59e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1942, allocations: 58.85 MB / 476.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.3085, allocations: 101.1 MB / 0.5641 GB, free: 13.87 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.3088, allocations: 75.95 kB / 0.5642 GB, free: 13.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3603/0.669, allocations: 82.9 MB / 0.6452 GB, free: 111.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.139e-05/0.6692, allocations: 77.3 kB / 0.6452 GB, free: 111.6 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.005017/0.6742, allocations: 3.464 MB / 0.6486 GB, free: 110.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.6743, allocations: 10.19 kB / 0.6486 GB, free: 110.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.6855, allocations: 2.8 MB / 0.6514 GB, free: 109.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007982/0.6935, allocations: 4.255 MB / 0.6555 GB, free: 109.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-05/0.6936, allocations: 127.9 kB / 0.6556 GB, free: 109.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005805/0.6942, allocations: 224.2 kB / 0.6558 GB, free: 109.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007395/0.7016, allocations: 7.212 MB / 0.6629 GB, free: 109.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009315/0.7109, allocations: 9.382 MB / 0.672 GB, free: 108 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.525e-05/0.711, allocations: 20.84 kB / 0.6721 GB, free: 108 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/0.7114, allocations: 13.12 kB / 0.6721 GB, free: 108 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001147/0.7126, allocations: 1.24 MB / 0.6733 GB, free: 108 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03278/0.7454, allocations: 30.1 MB / 0.7027 GB, free: 89.96 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.7474, allocations: 1.54 MB / 0.7042 GB, free: 89.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.7486, allocations: 1.062 MB / 0.7052 GB, free: 89.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008445/0.7571, allocations: 6.47 MB / 0.7115 GB, free: 84.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.7571, allocations: 46.75 kB / 0.7116 GB, free: 84.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=154): time 4.659e-06/0.7572, allocations: 1.406 kB / 0.7116 GB, free: 84.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=160): time 0.01339/0.7706, allocations: 6.942 MB / 0.7184 GB, free: 81.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.7706, allocations: 72.34 kB / 0.7184 GB, free: 81.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.7737, allocations: 2.508 MB / 0.7209 GB, free: 79.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/0.7737, allocations: 25.7 kB / 0.7209 GB, free: 79.26 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009119/0.7747, allocations: 2.827 MB / 0.7237 GB, free: 76.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.775, allocations: 0.5948 MB / 0.7243 GB, free: 76.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.7751, allocations: 0 / 0.7243 GB, free: 76.17 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.7754, allocations: 0.5917 MB / 0.7248 GB, free: 75.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.777, allocations: 1.563 MB / 0.7264 GB, free: 74.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/0.7796, allocations: 4.697 MB / 0.7309 GB, free: 68.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/0.7823, allocations: 2.793 MB / 0.7337 GB, free: 65.85 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.713e-05/0.7823, allocations: 32 kB / 0.7337 GB, free: 65.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.006908/0.7892, allocations: 5.623 MB / 0.7392 GB, free: 60.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.7893, allocations: 4 kB / 0.7392 GB, free: 60.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-05/0.7894, allocations: 112 kB / 0.7393 GB, free: 60.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/0.7897, allocations: 208 kB / 0.7395 GB, free: 60.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/0.7926, allocations: 1.162 MB / 0.7406 GB, free: 59.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.7937, allocations: 1.606 MB / 0.7422 GB, free: 57.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/0.7964, allocations: 129 kB / 0.7423 GB, free: 57.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000333/0.7967, allocations: 323.4 kB / 0.7426 GB, free: 57.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (651): * Single equations (assignments): 644 * 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.0004155/0.7971, allocations: 386.1 kB / 0.743 GB, free: 57.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.7974, allocations: 244.7 kB / 0.7432 GB, free: 56.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005808/0.798, allocations: 321.2 kB / 0.7435 GB, free: 56.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.013e-05/0.798, allocations: 12.8 kB / 0.7436 GB, free: 56.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/0.7981, allocations: 4 kB / 0.7436 GB, free: 56.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.7981, allocations: 9.25 kB / 0.7436 GB, free: 56.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008307/0.8064, allocations: 5.209 MB / 0.7487 GB, free: 52.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.8064, allocations: 4.609 kB / 0.7487 GB, free: 52.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/0.8072, allocations: 183.5 kB / 0.7488 GB, free: 51.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.8074, allocations: 51.84 kB / 0.7489 GB, free: 51.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.888e-05/0.8074, allocations: 13.48 kB / 0.7489 GB, free: 51.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008216/0.8083, allocations: 1.406 MB / 0.7503 GB, free: 50.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.8083, allocations: 4.062 kB / 0.7503 GB, free: 50.39 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003346/0.8116, allocations: 3.699 MB / 0.7539 GB, free: 46.92 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007359/0.8124, allocations: 491.1 kB / 0.7544 GB, free: 46.45 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/0.8127, allocations: 5.547 kB / 0.7544 GB, free: 46.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006792/0.8134, allocations: 17.95 kB / 0.7544 GB, free: 46.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.8135, allocations: 72.84 kB / 0.7544 GB, free: 46.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-05/0.8136, allocations: 48.98 kB / 0.7545 GB, free: 46.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001822/0.8154, allocations: 1.652 MB / 0.7561 GB, free: 44.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003311/0.8188, allocations: 0.7248 MB / 0.7568 GB, free: 44.18 MB / 474.7 MB 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.0002974/0.8191, allocations: 136.7 kB / 0.7569 GB, free: 44.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003972/0.823, allocations: 3.727 MB / 0.7606 GB, free: 40.63 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8231, allocations: 0 / 0.7606 GB, free: 40.63 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009357/0.824, allocations: 1.054 MB / 0.7616 GB, free: 39.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/0.8247, allocations: 197 kB / 0.7618 GB, free: 39.37 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008989/0.8337, allocations: 6.734 MB / 0.7684 GB, free: 32.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003037/0.8368, allocations: 3.492 MB / 0.7718 GB, free: 29.03 MB / 474.7 MB Notification: Performance of SimCode: time 6.81e-07/0.8368, allocations: 0 / 0.7718 GB, free: 29.03 MB / 474.7 MB Notification: Performance of Templates: time 0.04197/0.8788, allocations: 24.39 MB / 0.7956 GB, free: 5.246 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches