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.001156/0.001155, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.264/1.264, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008429/0.000843, allocations: 102.6 kB / 292.2 MB, free: 10.92 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.3303/0.3303, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 8 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3727, allocations: 61.9 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.5008, allocations: 103.4 MB / 0.6105 GB, free: 7.727 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.501, allocations: 79.95 kB / 0.6106 GB, free: 7.648 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4945/0.9955, allocations: 84.9 MB / 0.6935 GB, free: 99.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.9955, allocations: 3.938 kB / 0.6935 GB, free: 99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002218/0.9958, allocations: 69.17 kB / 0.6936 GB, free: 99 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.01325/1.009, allocations: 3.582 MB / 0.6971 GB, free: 97.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.009, allocations: 8.5 kB / 0.6971 GB, free: 97.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01443/1.024, allocations: 3.477 MB / 0.7005 GB, free: 97.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/1.037, allocations: 4.05 MB / 0.7045 GB, free: 96.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004097/1.037, allocations: 293.1 kB / 0.7047 GB, free: 96.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003005/1.04, allocations: 379.3 kB / 0.7051 GB, free: 96.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03075/1.071, allocations: 9.766 MB / 0.7146 GB, free: 95.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003344/1.072, allocations: 24.38 kB / 0.7147 GB, free: 95.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002062/1.074, allocations: 178.4 kB / 0.7148 GB, free: 95.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002082/1.076, allocations: 1.126 MB / 0.7159 GB, free: 95.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02024/1.096, allocations: 9.342 MB / 0.725 GB, free: 92.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04187/1.138, allocations: 31.7 MB / 0.756 GB, free: 72.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004835/1.143, allocations: 3.338 MB / 0.7593 GB, free: 71.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008996/1.144, allocations: 1.307 MB / 0.7605 GB, free: 69.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/1.144, allocations: 50.81 kB / 0.7606 GB, free: 69.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=185): time 5.139e-06/1.144, allocations: 0 / 0.7606 GB, free: 69.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.01691/1.161, allocations: 9.594 MB / 0.77 GB, free: 65.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/1.161, allocations: 71.34 kB / 0.77 GB, free: 65.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/1.164, allocations: 2.322 MB / 0.7723 GB, free: 64.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.284e-05/1.164, allocations: 49.3 kB / 0.7723 GB, free: 64.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/1.165, allocations: 2.671 MB / 0.7749 GB, free: 62.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000419/1.165, allocations: 0.7017 MB / 0.7756 GB, free: 62.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/1.166, allocations: 96 kB / 0.7757 GB, free: 61.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/1.166, allocations: 0.5112 MB / 0.7762 GB, free: 61.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/1.167, allocations: 1.52 MB / 0.7777 GB, free: 60.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/1.17, allocations: 4.341 MB / 0.7819 GB, free: 54.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002651/1.173, allocations: 2.594 MB / 0.7845 GB, free: 52.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/1.173, allocations: 28 kB / 0.7845 GB, free: 52.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.006808/1.18, allocations: 5.789 MB / 0.7902 GB, free: 47.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/1.18, allocations: 48 kB / 0.7902 GB, free: 47.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-05/1.18, allocations: 100 kB / 0.7903 GB, free: 47.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/1.18, allocations: 191.5 kB / 0.7905 GB, free: 47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/1.183, allocations: 1.066 MB / 0.7915 GB, free: 46.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/1.184, allocations: 1.69 MB / 0.7932 GB, free: 44.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/1.187, allocations: 210.5 kB / 0.7934 GB, free: 44.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/1.187, allocations: 295.8 kB / 0.7937 GB, free: 43.84 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.003114/1.19, allocations: 1.988 MB / 0.7956 GB, free: 42.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003647/1.191, allocations: 247.9 kB / 0.7958 GB, free: 41.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/1.194, allocations: 2.517 MB / 0.7983 GB, free: 39.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/1.194, allocations: 23.94 kB / 0.7983 GB, free: 39.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.194, allocations: 4 kB / 0.7983 GB, free: 39.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/1.194, allocations: 10.98 kB / 0.7983 GB, free: 39.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/1.205, allocations: 7.981 MB / 0.8061 GB, free: 32.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/1.205, allocations: 12 kB / 0.8061 GB, free: 32.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009098/1.206, allocations: 251.4 kB / 0.8064 GB, free: 32.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/1.206, allocations: 59.23 kB / 0.8064 GB, free: 32.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/1.206, allocations: 47.14 kB / 0.8065 GB, free: 32.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000953/1.207, allocations: 1.506 MB / 0.808 GB, free: 30.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.207, allocations: 19.88 kB / 0.808 GB, free: 30.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/1.211, allocations: 4.824 MB / 0.8127 GB, free: 26.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007759/1.212, allocations: 304.7 kB / 0.813 GB, free: 25.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/1.212, allocations: 39.19 kB / 0.813 GB, free: 25.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007124/1.213, allocations: 52.84 kB / 0.8131 GB, free: 25.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/1.213, allocations: 122 kB / 0.8132 GB, free: 25.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.213, allocations: 63.75 kB / 0.8132 GB, free: 25.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002074/1.216, allocations: 1.585 MB / 0.8148 GB, free: 24.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.216, allocations: 4 kB / 0.8148 GB, free: 24.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003751/1.219, allocations: 0.8082 MB / 0.8156 GB, free: 23.45 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.0003946/1.22, allocations: 182.3 kB / 0.8158 GB, free: 23.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004878/1.225, allocations: 3.81 MB / 0.8195 GB, free: 19.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.225, allocations: 0 / 0.8195 GB, free: 19.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/1.226, allocations: 1.237 MB / 0.8207 GB, free: 18.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/1.227, allocations: 318.8 kB / 0.821 GB, free: 17.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/1.241, allocations: 10.19 MB / 0.8309 GB, free: 7.633 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002987/1.244, allocations: 3.213 MB / 0.8341 GB, free: 4.406 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003844/1.248, allocations: 1.71 MB / 0.8357 GB, free: 2.699 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/1.249, allocations: 191.4 kB / 0.8359 GB, free: 2.512 MB / 490.7 MB Notification: Performance of SimCode: time 1.472e-06/1.249, allocations: 0 / 0.8359 GB, free: 2.512 MB / 490.7 MB Notification: Performance of Templates: time 0.045/1.294, allocations: 21.84 MB / 0.8573 GB, free: 13 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