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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.001381, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.3 MB / 213.7 MB, free: 1.684 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008884/0.0008883, allocations: 90.61 kB / 261.7 MB, free: 1.621 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.1986/0.1986, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.794e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 58.86 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.421/0.5518, allocations: 101.2 MB / 0.5647 GB, free: 10.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.5521, allocations: 77.92 kB / 0.5648 GB, free: 10.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2095/0.7617, allocations: 84.02 MB / 0.6468 GB, free: 14.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7617, allocations: 0 / 0.6468 GB, free: 14.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001417/0.7619, allocations: 72 kB / 0.6469 GB, free: 14.38 MB / 458.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.01143/0.7733, allocations: 3.522 MB / 0.6504 GB, free: 10.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.7734, allocations: 8.031 kB / 0.6504 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/0.7887, allocations: 3.512 MB / 0.6538 GB, free: 7.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/0.8004, allocations: 4.194 MB / 0.6579 GB, free: 3.023 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.8007, allocations: 128 kB / 0.658 GB, free: 2.898 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001896/0.8026, allocations: 224 kB / 0.6582 GB, free: 2.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01324/0.8158, allocations: 7.04 MB / 0.6651 GB, free: 11.63 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.022/0.8379, allocations: 9.221 MB / 0.6741 GB, free: 1.961 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.8381, allocations: 23.8 kB / 0.6741 GB, free: 1.938 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007367/0.8388, allocations: 16 kB / 0.6741 GB, free: 1.922 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00179/0.8406, allocations: 1.164 MB / 0.6753 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04725/0.8879, allocations: 29.82 MB / 0.7044 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2743/1.162, allocations: 2.943 MB / 0.7073 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002138/1.164, allocations: 1.034 MB / 0.7083 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/1.166, allocations: 1.309 MB / 0.7096 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/1.166, allocations: 46.59 kB / 0.7096 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=189): time 6.983e-06/1.166, allocations: 3.938 kB / 0.7096 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=195): time 0.01636/1.182, allocations: 7.965 MB / 0.7174 GB, free: 129 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/1.182, allocations: 95.08 kB / 0.7175 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004254/1.187, allocations: 2.264 MB / 0.7197 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002694/1.187, allocations: 25.7 kB / 0.7197 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001808/1.189, allocations: 2.835 MB / 0.7225 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008632/1.19, allocations: 0.704 MB / 0.7232 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/1.19, allocations: 1.188 kB / 0.7232 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004347/1.19, allocations: 0.5899 MB / 0.7237 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/1.193, allocations: 1.495 MB / 0.7252 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004206/1.197, allocations: 4.631 MB / 0.7297 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003733/1.201, allocations: 2.68 MB / 0.7323 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-05/1.201, allocations: 33.53 kB / 0.7324 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=703) (initialization): time 0.008815/1.209, allocations: 5.492 MB / 0.7377 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.723e-05/1.21, allocations: 54.41 kB / 0.7378 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/1.21, allocations: 117.4 kB / 0.7379 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002967/1.21, allocations: 214 kB / 0.7381 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/1.213, allocations: 1.18 MB / 0.7393 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/1.214, allocations: 1.627 MB / 0.7408 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/1.217, allocations: 142.8 kB / 0.741 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003438/1.217, allocations: 321 kB / 0.7413 GB, free: 120.5 MB / 0.4948 GB 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.000514/1.218, allocations: 384.9 kB / 0.7417 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/1.218, allocations: 249.7 kB / 0.7419 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/1.221, allocations: 2.422 MB / 0.7443 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/1.221, allocations: 21.75 kB / 0.7443 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.221, allocations: 7.781 kB / 0.7443 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/1.221, allocations: 6.141 kB / 0.7443 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009948/1.231, allocations: 6.913 MB / 0.751 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/1.231, allocations: 10.62 kB / 0.7511 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009217/1.232, allocations: 264.4 kB / 0.7513 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001359/1.232, allocations: 56.47 kB / 0.7514 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.092e-05/1.232, allocations: 21.84 kB / 0.7514 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008286/1.233, allocations: 1.432 MB / 0.7528 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/1.233, allocations: 17.62 kB / 0.7528 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/1.237, allocations: 4.859 MB / 0.7575 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000979/1.238, allocations: 0.5072 MB / 0.758 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/1.239, allocations: 22.22 kB / 0.7581 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007558/1.239, allocations: 33.12 kB / 0.7581 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.239, allocations: 123.7 kB / 0.7582 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.24, allocations: 70.45 kB / 0.7583 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002114/1.242, allocations: 1.476 MB / 0.7597 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/1.242, allocations: 3.938 kB / 0.7597 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004598/1.246, allocations: 0.716 MB / 0.7604 GB, free: 113.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (144): * Single equations (assignments): 137 * 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.0004128/1.247, allocations: 163.3 kB / 0.7606 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005123/1.252, allocations: 3.719 MB / 0.7642 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.252, allocations: 0 / 0.7642 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/1.253, allocations: 1.189 MB / 0.7654 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/1.254, allocations: 215 kB / 0.7656 GB, free: 112 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/1.267, allocations: 7.163 MB / 0.7726 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002877/1.27, allocations: 3.276 MB / 0.7758 GB, free: 108 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00368/1.273, allocations: 1.853 MB / 0.7776 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/1.274, allocations: 186.4 kB / 0.7778 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/1.274, allocations: 0 / 0.7778 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.03548/1.309, allocations: 19.17 MB / 0.7965 GB, free: 98.1 MB / 0.4948 GB 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