Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0015/0.0015, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00107/0.00107, allocations: 86.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2716/0.2716, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.378e-05, allocations: 0 / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4993/0.6138, allocations: 101.8 MB / 0.5722 GB, free: 2.008 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.6141, allocations: 82.11 kB / 0.5723 GB, free: 1.969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3616/0.9757, allocations: 85.55 MB / 0.6559 GB, free: 4.203 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.9758, allocations: 0 / 0.6559 GB, free: 4.203 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002065/0.976, allocations: 75.98 kB / 0.6559 GB, free: 4.129 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.01338/0.9894, allocations: 3.518 MB / 0.6594 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.624e-05/0.9895, allocations: 11.97 kB / 0.6594 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02768/1.017, allocations: 3.508 MB / 0.6628 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01818/1.035, allocations: 4.198 MB / 0.6669 GB, free: 8.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004963/1.036, allocations: 295.7 kB / 0.6672 GB, free: 8.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002784/1.039, allocations: 391.9 kB / 0.6676 GB, free: 8.098 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03376/1.073, allocations: 9.878 MB / 0.6772 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002404/1.073, allocations: 19.81 kB / 0.6772 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002632/1.076, allocations: 179.9 kB / 0.6774 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003315/1.079, allocations: 1.172 MB / 0.6785 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03169/1.111, allocations: 9.281 MB / 0.6876 GB, free: 3.113 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4111/1.522, allocations: 32.54 MB / 0.7194 GB, free: 110 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00952/1.531, allocations: 3.332 MB / 0.7226 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002858/1.534, allocations: 1.058 MB / 0.7237 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001733/1.536, allocations: 1.31 MB / 0.725 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.63e-05/1.536, allocations: 51.09 kB / 0.725 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=187): time 6.522e-06/1.536, allocations: 0.5312 kB / 0.725 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=193): time 0.03481/1.571, allocations: 8.708 MB / 0.7335 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/1.571, allocations: 93.92 kB / 0.7336 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005122/1.576, allocations: 2.348 MB / 0.7359 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000376/1.577, allocations: 46.66 kB / 0.7359 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002355/1.579, allocations: 2.744 MB / 0.7386 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001046/1.58, allocations: 0.7154 MB / 0.7393 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005028/1.581, allocations: 96.05 kB / 0.7394 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003404/1.581, allocations: 0.5228 MB / 0.7399 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/1.585, allocations: 1.502 MB / 0.7414 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005739/1.59, allocations: 4.407 MB / 0.7457 GB, free: 99.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005735/1.596, allocations: 2.623 MB / 0.7482 GB, free: 99.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/1.596, allocations: 29.72 kB / 0.7483 GB, free: 99.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=656) (initialization): time 0.01462/1.611, allocations: 5.762 MB / 0.7539 GB, free: 99.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.502e-05/1.611, allocations: 52.47 kB / 0.754 GB, free: 99.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/1.611, allocations: 104 kB / 0.7541 GB, free: 99.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/1.612, allocations: 191 kB / 0.7542 GB, free: 99.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00647/1.618, allocations: 1.091 MB / 0.7553 GB, free: 98.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/1.62, allocations: 1.68 MB / 0.7569 GB, free: 97.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004851/1.625, allocations: 213.4 kB / 0.7571 GB, free: 97.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.626, allocations: 298.4 kB / 0.7574 GB, free: 97.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 467 * 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 (604): * Single equations (assignments): 597 * 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.001102/1.627, allocations: 482.3 kB / 0.7579 GB, free: 97.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006459/1.628, allocations: 247.4 kB / 0.7581 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005575/1.634, allocations: 2.51 MB / 0.7606 GB, free: 97.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.245e-05/1.634, allocations: 24.19 kB / 0.7606 GB, free: 97.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.634, allocations: 1.031 kB / 0.7606 GB, free: 97.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/1.634, allocations: 10.08 kB / 0.7606 GB, free: 97.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02107/1.655, allocations: 8.165 MB / 0.7686 GB, free: 94.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/1.655, allocations: 10.19 kB / 0.7686 GB, free: 94.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/1.657, allocations: 252.7 kB / 0.7688 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002519/1.657, allocations: 56.53 kB / 0.7689 GB, free: 94.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000202/1.657, allocations: 45.42 kB / 0.7689 GB, free: 94.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/1.659, allocations: 1.495 MB / 0.7704 GB, free: 93.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-05/1.659, allocations: 14.88 kB / 0.7704 GB, free: 93.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008034/1.667, allocations: 4.882 MB / 0.7752 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/1.669, allocations: 0.5055 MB / 0.7757 GB, free: 90.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006977/1.67, allocations: 36.88 kB / 0.7757 GB, free: 90.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/1.671, allocations: 62.78 kB / 0.7758 GB, free: 90.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/1.672, allocations: 126.7 kB / 0.7759 GB, free: 90.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/1.672, allocations: 61.98 kB / 0.7759 GB, free: 90.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003701/1.676, allocations: 1.595 MB / 0.7775 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.62e-07/1.676, allocations: 6.062 kB / 0.7775 GB, free: 89.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006064/1.682, allocations: 0.8206 MB / 0.7783 GB, free: 89.35 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (142): * Single equations (assignments): 135 * 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.0007441/1.682, allocations: 187.9 kB / 0.7785 GB, free: 89.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008247/1.691, allocations: 3.807 MB / 0.7822 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/1.691, allocations: 3.844 kB / 0.7822 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002549/1.693, allocations: 1.23 MB / 0.7834 GB, free: 87.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/1.696, allocations: 303.8 kB / 0.7837 GB, free: 87.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/1.716, allocations: 7.626 MB / 0.7911 GB, free: 84.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006752/1.722, allocations: 3.289 MB / 0.7944 GB, free: 82.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/1.724, allocations: 234.4 kB / 0.7946 GB, free: 82.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.193e-06/1.724, allocations: 0 / 0.7946 GB, free: 82.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.1146/1.838, allocations: 63.72 MB / 0.8568 GB, free: 29.12 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches