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.001024/0.001024, allocations: 200.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008821/0.0008821, allocations: 94.19 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1861/0.1861, allocations: 45.15 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.316e-05/1.319e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.5344, allocations: 103.6 MB / 0.6055 GB, free: 15.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.5347, allocations: 79.45 kB / 0.6056 GB, free: 15.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2179/0.7526, allocations: 84.32 MB / 0.6879 GB, free: 2.914 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.7527, allocations: 4 kB / 0.6879 GB, free: 2.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002108/0.7529, allocations: 68 kB / 0.688 GB, free: 2.844 MB / 474.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.01318/0.7661, allocations: 3.447 MB / 0.6913 GB, free: 15.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.7662, allocations: 8.031 kB / 0.6914 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/0.7817, allocations: 3.481 MB / 0.6948 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.7923, allocations: 3.515 MB / 0.6982 GB, free: 8.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/0.7926, allocations: 124 kB / 0.6983 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002022/0.7946, allocations: 219.9 kB / 0.6985 GB, free: 7.934 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01285/0.8075, allocations: 6.911 MB / 0.7053 GB, free: 1.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/0.8265, allocations: 9.046 MB / 0.7141 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.8267, allocations: 31.7 kB / 0.7141 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001495/0.8282, allocations: 12 kB / 0.7141 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001652/0.8299, allocations: 1.137 MB / 0.7152 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04514/0.875, allocations: 29.1 MB / 0.7437 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003784/0.8789, allocations: 2.924 MB / 0.7465 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.8804, allocations: 1.03 MB / 0.7475 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.8816, allocations: 1.307 MB / 0.7488 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.8817, allocations: 43.88 kB / 0.7488 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=187): time 5.41e-06/0.8817, allocations: 0 / 0.7488 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of matching and sorting (n=193): time 0.3369/1.219, allocations: 7.26 MB / 0.7559 GB, free: 144 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/1.219, allocations: 66.09 kB / 0.756 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00367/1.222, allocations: 2.21 MB / 0.7582 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.645e-05/1.222, allocations: 25.7 kB / 0.7582 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001756/1.224, allocations: 2.753 MB / 0.7609 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006016/1.225, allocations: 0.6943 MB / 0.7615 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/1.225, allocations: 4.906 kB / 0.7615 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004595/1.225, allocations: 0.5843 MB / 0.7621 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/1.228, allocations: 1.472 MB / 0.7636 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003981/1.232, allocations: 4.52 MB / 0.768 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004009/1.236, allocations: 2.638 MB / 0.7705 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.928e-05/1.236, allocations: 30.95 kB / 0.7706 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=687) (initialization): time 0.008902/1.245, allocations: 5.403 MB / 0.7758 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.928e-05/1.245, allocations: 53.25 kB / 0.7759 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/1.245, allocations: 107.7 kB / 0.776 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003297/1.245, allocations: 200.5 kB / 0.7762 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/1.248, allocations: 1.146 MB / 0.7773 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/1.249, allocations: 1.633 MB / 0.7789 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/1.252, allocations: 131.2 kB / 0.779 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003928/1.253, allocations: 316.5 kB / 0.7793 GB, free: 135.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 496 * 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 (635): * Single equations (assignments): 628 * 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.0005666/1.253, allocations: 382.9 kB / 0.7797 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/1.254, allocations: 245.3 kB / 0.7799 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/1.256, allocations: 2.407 MB / 0.7823 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/1.257, allocations: 21.44 kB / 0.7823 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.257, allocations: 0 / 0.7823 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/1.257, allocations: 18.36 kB / 0.7823 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009962/1.267, allocations: 6.739 MB / 0.7889 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/1.267, allocations: 14.31 kB / 0.7889 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000917/1.268, allocations: 252 kB / 0.7892 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/1.268, allocations: 59.77 kB / 0.7892 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.019e-05/1.268, allocations: 29.5 kB / 0.7892 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008808/1.269, allocations: 1.437 MB / 0.7906 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/1.269, allocations: 14.34 kB / 0.7907 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/1.273, allocations: 4.766 MB / 0.7953 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006912/1.274, allocations: 292.5 kB / 0.7956 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/1.274, allocations: 25.09 kB / 0.7956 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007351/1.275, allocations: 35.77 kB / 0.7956 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/1.275, allocations: 123.9 kB / 0.7958 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.275, allocations: 62.03 kB / 0.7958 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002036/1.277, allocations: 1.449 MB / 0.7972 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/1.277, allocations: 0 / 0.7972 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00407/1.281, allocations: 0.7028 MB / 0.7979 GB, free: 130.2 MB / 0.5261 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.0003818/1.282, allocations: 169.6 kB / 0.7981 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004921/1.287, allocations: 3.659 MB / 0.8017 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.287, allocations: 6.875 kB / 0.8017 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/1.288, allocations: 1.188 MB / 0.8028 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/1.289, allocations: 221.6 kB / 0.803 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/1.301, allocations: 7.016 MB / 0.8099 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002756/1.304, allocations: 3.212 MB / 0.813 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003699/1.308, allocations: 1.822 MB / 0.8148 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/1.308, allocations: 186.5 kB / 0.815 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/1.308, allocations: 0 / 0.815 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.03656/1.345, allocations: 19.02 MB / 0.8336 GB, free: 118.1 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