Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001573, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 227.2 MB / 245 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008618/0.0008618, allocations: 95.47 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3192/0.3192, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002613/0.0002612, allocations: 8 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2725, allocations: 63.25 MB / 0.5192 GB, free: 37.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1204/0.393, allocations: 104.3 MB / 0.621 GB, free: 15.13 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.3932, allocations: 79.91 kB / 0.6211 GB, free: 15.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4224/0.8157, allocations: 85.72 MB / 0.7048 GB, free: 102.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.8157, allocations: 1.094 kB / 0.7048 GB, free: 102.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001614/0.8159, allocations: 72.77 kB / 0.7049 GB, free: 102.7 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.01046/0.8264, allocations: 3.582 MB / 0.7084 GB, free: 101 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.8264, allocations: 9.625 kB / 0.7084 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/0.8401, allocations: 3.484 MB / 0.7118 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.8513, allocations: 3.54 MB / 0.7153 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003571/0.8517, allocations: 287.9 kB / 0.7155 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002012/0.8538, allocations: 380.1 kB / 0.7159 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/0.8712, allocations: 9.771 MB / 0.7254 GB, free: 97.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.968e-05/0.8713, allocations: 21.62 kB / 0.7255 GB, free: 97.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004944/0.8718, allocations: 177 kB / 0.7256 GB, free: 97.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001102/0.8729, allocations: 1.121 MB / 0.7267 GB, free: 96.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01279/0.8857, allocations: 9.348 MB / 0.7358 GB, free: 94.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03337/0.9191, allocations: 31.69 MB / 0.7668 GB, free: 73.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004471/0.9236, allocations: 3.335 MB / 0.7701 GB, free: 69.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008276/0.9245, allocations: 1.308 MB / 0.7713 GB, free: 68.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.9246, allocations: 47.11 kB / 0.7714 GB, free: 68.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=185): time 4.338e-06/0.9246, allocations: 0 / 0.7714 GB, free: 68.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.01583/0.9404, allocations: 9.592 MB / 0.7807 GB, free: 58.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.9405, allocations: 64.72 kB / 0.7808 GB, free: 58.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.943, allocations: 2.326 MB / 0.7831 GB, free: 56.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/0.9431, allocations: 49.7 kB / 0.7831 GB, free: 56.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009981/0.9441, allocations: 2.669 MB / 0.7857 GB, free: 53.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/0.9445, allocations: 0.7045 MB / 0.7864 GB, free: 52.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.9446, allocations: 88 kB / 0.7865 GB, free: 52.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.9448, allocations: 0.5166 MB / 0.787 GB, free: 52.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.9466, allocations: 1.524 MB / 0.7885 GB, free: 50.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.9493, allocations: 4.337 MB / 0.7927 GB, free: 45.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00279/0.9521, allocations: 2.593 MB / 0.7953 GB, free: 42.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.966e-05/0.9522, allocations: 28 kB / 0.7953 GB, free: 42.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.006807/0.959, allocations: 5.792 MB / 0.8009 GB, free: 36.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.9591, allocations: 51.94 kB / 0.801 GB, free: 36.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.69e-05/0.9592, allocations: 100 kB / 0.8011 GB, free: 36.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.9594, allocations: 185.6 kB / 0.8013 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002613/0.9621, allocations: 1.076 MB / 0.8023 GB, free: 35.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.9631, allocations: 1.697 MB / 0.804 GB, free: 33.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/0.9656, allocations: 211.9 kB / 0.8042 GB, free: 33.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/0.966, allocations: 284 kB / 0.8045 GB, free: 32.97 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.002996/0.969, allocations: 1.988 MB / 0.8064 GB, free: 30.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003463/0.9693, allocations: 252.7 kB / 0.8066 GB, free: 30.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/0.9724, allocations: 2.521 MB / 0.8091 GB, free: 28.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.9724, allocations: 20 kB / 0.8091 GB, free: 28.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.9724, allocations: 0 / 0.8091 GB, free: 28.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.9724, allocations: 11.98 kB / 0.8091 GB, free: 28.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.9827, allocations: 7.98 MB / 0.8169 GB, free: 20 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.9828, allocations: 12.03 kB / 0.8169 GB, free: 19.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008571/0.9836, allocations: 255.5 kB / 0.8172 GB, free: 19.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.9838, allocations: 56.83 kB / 0.8172 GB, free: 19.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.57e-05/0.9839, allocations: 43.98 kB / 0.8173 GB, free: 19.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008611/0.9847, allocations: 1.507 MB / 0.8187 GB, free: 18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.9848, allocations: 11.94 kB / 0.8188 GB, free: 17.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/0.9886, allocations: 4.833 MB / 0.8235 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/0.9891, allocations: 305.8 kB / 0.8238 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.9893, allocations: 32 kB / 0.8238 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/0.99, allocations: 71.77 kB / 0.8239 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.9902, allocations: 120.7 kB / 0.824 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.9903, allocations: 64 kB / 0.824 GB, free: 12.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001763/0.9921, allocations: 1.583 MB / 0.8256 GB, free: 10.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9921, allocations: 0 / 0.8256 GB, free: 10.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002994/0.9951, allocations: 0.8123 MB / 0.8264 GB, free: 9.742 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.000358/0.9954, allocations: 190.7 kB / 0.8266 GB, free: 9.551 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004206/0.9997, allocations: 3.802 MB / 0.8303 GB, free: 5.758 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.9997, allocations: 4.062 kB / 0.8303 GB, free: 5.754 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/1.001, allocations: 1.225 MB / 0.8315 GB, free: 4.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/1.002, allocations: 315.9 kB / 0.8318 GB, free: 4.219 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/1.016, allocations: 10.21 MB / 0.8417 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003398/1.02, allocations: 3.214 MB / 0.8449 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00374/1.024, allocations: 1.71 MB / 0.8466 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/1.024, allocations: 183.4 kB / 0.8467 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of SimCode: time 9.82e-07/1.024, allocations: 4 kB / 0.8467 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of Templates: time 0.04009/1.064, allocations: 21.83 MB / 0.868 GB, free: 15.07 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches