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.0009181/0.000918, allocations: 178.8 kB / 18.09 MB, free: 3.75 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.349/1.349, allocations: 223.3 MB / 242.1 MB, free: 11.72 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007788/0.0007785, allocations: 100.6 kB / 293.3 MB, free: 10.79 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.3165/0.3165, allocations: 44.14 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004091, allocations: 12 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3343, allocations: 61.88 MB / 0.5107 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.4649, allocations: 103.5 MB / 0.6118 GB, free: 7.574 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.4652, allocations: 79.95 kB / 0.6119 GB, free: 7.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4461/0.9113, allocations: 83.86 MB / 0.6937 GB, free: 98.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.9113, allocations: 2.625 kB / 0.6938 GB, free: 98.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001789/0.9115, allocations: 65.12 kB / 0.6938 GB, free: 98.81 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.01153/0.9231, allocations: 3.53 MB / 0.6973 GB, free: 97.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.9231, allocations: 10.25 kB / 0.6973 GB, free: 97.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/0.9373, allocations: 3.457 MB / 0.7006 GB, free: 96.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007481/0.9448, allocations: 2.955 MB / 0.7035 GB, free: 96.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/0.9452, allocations: 289.5 kB / 0.7038 GB, free: 96.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00241/0.9476, allocations: 378 kB / 0.7042 GB, free: 96.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02718/0.9748, allocations: 9.73 MB / 0.7137 GB, free: 95.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002904/0.9751, allocations: 23.41 kB / 0.7137 GB, free: 95.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002438/0.9776, allocations: 179.5 kB / 0.7139 GB, free: 95.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002473/0.9801, allocations: 1.132 MB / 0.715 GB, free: 95.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02238/1.002, allocations: 9.28 MB / 0.724 GB, free: 92.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04802/1.051, allocations: 31.67 MB / 0.755 GB, free: 72.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006163/1.057, allocations: 3.333 MB / 0.7582 GB, free: 71.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/1.058, allocations: 1.073 MB / 0.7593 GB, free: 70.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008909/1.059, allocations: 1.315 MB / 0.7605 GB, free: 69.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/1.059, allocations: 47.22 kB / 0.7606 GB, free: 69.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=185): time 5.801e-06/1.059, allocations: 3.969 kB / 0.7606 GB, free: 69.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.01808/1.078, allocations: 9.057 MB / 0.7694 GB, free: 66.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/1.078, allocations: 71.53 kB / 0.7695 GB, free: 66.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004858/1.083, allocations: 2.599 MB / 0.772 GB, free: 65.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/1.083, allocations: 51.73 kB / 0.7721 GB, free: 65.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001454/1.084, allocations: 2.668 MB / 0.7747 GB, free: 62.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005158/1.085, allocations: 0.7027 MB / 0.7754 GB, free: 62.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/1.085, allocations: 90.06 kB / 0.7755 GB, free: 62.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003221/1.085, allocations: 0.5158 MB / 0.776 GB, free: 62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/1.087, allocations: 1.527 MB / 0.7775 GB, free: 60.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/1.091, allocations: 4.349 MB / 0.7817 GB, free: 55.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005496/1.096, allocations: 6.539 MB / 0.7881 GB, free: 47.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.933e-05/1.096, allocations: 28 kB / 0.7881 GB, free: 47.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.007877/1.104, allocations: 5.792 MB / 0.7938 GB, free: 42.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/1.104, allocations: 48 kB / 0.7938 GB, free: 42.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/1.104, allocations: 107.1 kB / 0.7939 GB, free: 42.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/1.105, allocations: 170.5 kB / 0.7941 GB, free: 42.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/1.108, allocations: 1.071 MB / 0.7951 GB, free: 41.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/1.109, allocations: 1.668 MB / 0.7968 GB, free: 39.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/1.112, allocations: 217 kB / 0.797 GB, free: 39.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006695/1.113, allocations: 291.9 kB / 0.7973 GB, free: 39.32 MB / 490.7 MB 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 () * Number of clocked 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.003828/1.117, allocations: 1.985 MB / 0.7992 GB, free: 37.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006067/1.117, allocations: 252.7 kB / 0.7994 GB, free: 37.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/1.121, allocations: 2.519 MB / 0.8019 GB, free: 35.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/1.121, allocations: 23.91 kB / 0.8019 GB, free: 35.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.121, allocations: 0 / 0.8019 GB, free: 35.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/1.121, allocations: 7.547 kB / 0.8019 GB, free: 35.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/1.132, allocations: 7.984 MB / 0.8097 GB, free: 28.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.132, allocations: 8 kB / 0.8097 GB, free: 28.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009228/1.133, allocations: 263.8 kB / 0.81 GB, free: 28.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/1.134, allocations: 60.2 kB / 0.81 GB, free: 27.99 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.719e-05/1.134, allocations: 46.94 kB / 0.8101 GB, free: 27.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009494/1.135, allocations: 1.489 MB / 0.8115 GB, free: 26.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.135, allocations: 19.22 kB / 0.8116 GB, free: 26.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/1.139, allocations: 4.008 MB / 0.8155 GB, free: 22.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007223/1.14, allocations: 303.7 kB / 0.8158 GB, free: 22.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/1.14, allocations: 47.67 kB / 0.8158 GB, free: 22.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007095/1.141, allocations: 60.52 kB / 0.8159 GB, free: 22.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/1.141, allocations: 120.3 kB / 0.816 GB, free: 22.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/1.141, allocations: 67.7 kB / 0.816 GB, free: 22.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002307/1.143, allocations: 1.583 MB / 0.8176 GB, free: 20.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.6e-07/1.143, allocations: 0 / 0.8176 GB, free: 20.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003744/1.147, allocations: 0.8077 MB / 0.8184 GB, free: 20 MB / 490.7 MB 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 () * Number of clocked 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.0003754/1.148, allocations: 189.4 kB / 0.8186 GB, free: 19.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004785/1.152, allocations: 3.809 MB / 0.8223 GB, free: 16.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/1.152, allocations: 0 / 0.8223 GB, free: 16.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/1.154, allocations: 1.226 MB / 0.8235 GB, free: 15.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00436/1.158, allocations: 342.5 kB / 0.8238 GB, free: 15.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/1.171, allocations: 10.22 MB / 0.8338 GB, free: 4.699 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002815/1.174, allocations: 3.137 MB / 0.8368 GB, free: 1.547 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003634/1.177, allocations: 1.709 MB / 0.8385 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/1.178, allocations: 187.4 kB / 0.8387 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/1.178, allocations: 0 / 0.8387 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.0446/1.222, allocations: 21.9 MB / 0.8601 GB, free: 10.11 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/jenkins1/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