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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 180.1 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 221.3 MB / 236 MB, free: 2.965 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.0009141/0.0009138, allocations: 99.72 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1756/0.1756, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.475e-05, allocations: 8.203 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 61.9 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4033/0.5134, allocations: 103.3 MB / 0.6026 GB, free: 2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.5136, allocations: 75.97 kB / 0.6027 GB, free: 1.926 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2017/0.7154, allocations: 84.99 MB / 0.6857 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7154, allocations: 0 / 0.6857 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001131/0.7155, allocations: 71.98 kB / 0.6857 GB, free: 12.2 MB / 0.4948 GB 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.0072/0.7227, allocations: 3.439 MB / 0.6891 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.7228, allocations: 8.031 kB / 0.6891 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/0.737, allocations: 3.489 MB / 0.6925 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.748, allocations: 4.03 MB / 0.6964 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.7484, allocations: 291.5 kB / 0.6967 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.7502, allocations: 375.9 kB / 0.6971 GB, free: 468 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/0.7727, allocations: 9.689 MB / 0.7065 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002218/0.773, allocations: 27.72 kB / 0.7066 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00182/0.7748, allocations: 175.9 kB / 0.7067 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001846/0.7767, allocations: 1.125 MB / 0.7078 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3005/1.077, allocations: 9.207 MB / 0.7168 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04061/1.118, allocations: 31.7 MB / 0.7478 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004292/1.122, allocations: 3.306 MB / 0.751 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/1.123, allocations: 1.053 MB / 0.752 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007746/1.124, allocations: 1.316 MB / 0.7533 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/1.124, allocations: 47.47 kB / 0.7534 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=185): time 3.657e-06/1.124, allocations: 0 / 0.7534 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=191): time 0.01521/1.139, allocations: 7.998 MB / 0.7612 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/1.139, allocations: 71.86 kB / 0.7612 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003404/1.143, allocations: 2.298 MB / 0.7635 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.049e-05/1.143, allocations: 48.86 kB / 0.7635 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001445/1.144, allocations: 2.67 MB / 0.7661 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000472/1.145, allocations: 0.7035 MB / 0.7668 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/1.145, allocations: 91.53 kB / 0.7669 GB, free: 108 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002022/1.145, allocations: 0.5164 MB / 0.7674 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/1.147, allocations: 1.49 MB / 0.7689 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/1.149, allocations: 4.301 MB / 0.7731 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002589/1.152, allocations: 2.593 MB / 0.7756 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.315e-05/1.152, allocations: 28.12 kB / 0.7756 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=643) (initialization): time 0.006443/1.159, allocations: 5.736 MB / 0.7812 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/1.159, allocations: 46.62 kB / 0.7813 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.772e-05/1.159, allocations: 101.1 kB / 0.7814 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/1.159, allocations: 184 kB / 0.7816 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/1.162, allocations: 1.073 MB / 0.7826 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/1.163, allocations: 1.66 MB / 0.7842 GB, free: 98.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/1.165, allocations: 218.6 kB / 0.7844 GB, free: 98.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/1.165, allocations: 289.5 kB / 0.7847 GB, free: 98.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * 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 (591): * Single equations (assignments): 584 * 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.0004195/1.166, allocations: 464.8 kB / 0.7852 GB, free: 98.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/1.166, allocations: 254.7 kB / 0.7854 GB, free: 98.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/1.169, allocations: 2.497 MB / 0.7878 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/1.169, allocations: 23.59 kB / 0.7879 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/1.169, allocations: 0 / 0.7879 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.169, allocations: 11.25 kB / 0.7879 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/1.18, allocations: 7.948 MB / 0.7956 GB, free: 94.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.18, allocations: 14.8 kB / 0.7956 GB, free: 94.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/1.181, allocations: 255.7 kB / 0.7959 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000143/1.181, allocations: 51.94 kB / 0.7959 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.164e-05/1.181, allocations: 44.3 kB / 0.796 GB, free: 94.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008702/1.182, allocations: 1.496 MB / 0.7974 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.182, allocations: 11.88 kB / 0.7975 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004184/1.186, allocations: 4.791 MB / 0.8021 GB, free: 90 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007779/1.187, allocations: 310 kB / 0.8024 GB, free: 89.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/1.187, allocations: 42.56 kB / 0.8025 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/1.188, allocations: 61.97 kB / 0.8025 GB, free: 89.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/1.188, allocations: 117.2 kB / 0.8026 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.188, allocations: 66.3 kB / 0.8027 GB, free: 89.67 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001976/1.19, allocations: 1.562 MB / 0.8042 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/1.19, allocations: 0 / 0.8042 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00331/1.193, allocations: 0.8087 MB / 0.805 GB, free: 88.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (140): * Single equations (assignments): 133 * 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.0003621/1.194, allocations: 188.1 kB / 0.8052 GB, free: 88.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004752/1.199, allocations: 3.761 MB / 0.8089 GB, free: 84.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.199, allocations: 0 / 0.8089 GB, free: 84.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/1.2, allocations: 1.212 MB / 0.8101 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/1.201, allocations: 316 kB / 0.8104 GB, free: 83.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/1.212, allocations: 7.019 MB / 0.8172 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002456/1.214, allocations: 3.214 MB / 0.8203 GB, free: 74.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003471/1.218, allocations: 1.714 MB / 0.822 GB, free: 73.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/1.218, allocations: 190.8 kB / 0.8222 GB, free: 73.06 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/1.218, allocations: 3.938 kB / 0.8222 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of Templates: time 0.03535/1.253, allocations: 21.84 MB / 0.8435 GB, free: 56.77 MB / 0.5105 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