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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001499, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 44.18 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 58.83 kB / 409.1 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09933, allocations: 60.84 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01214/0.1115, allocations: 12.3 MB / 482.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007482/0.119, allocations: 3.855 MB / 486.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.1207, allocations: 59.88 kB / 486.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.1233, allocations: 1.319 MB / 487.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00386/0.1272, allocations: 1.754 MB / 489.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009709/0.1282, allocations: 423.2 kB / 489.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004099/0.1323, allocations: 3.574 MB / 493.2 MB, free: 7.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.1347, allocations: 2.021 MB / 495.2 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.1364, allocations: 1.195 MB / 496.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.1384, allocations: 1.744 MB / 498.2 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005173/0.139, allocations: 240 kB / 498.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.1407, allocations: 0.8308 MB / 499.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001482/0.1422, allocations: 1.597 MB / 0.4891 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.144, allocations: 1.886 MB / 0.4909 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005712/0.1497, allocations: 5.844 MB / 0.4966 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1497, allocations: 3.938 kB / 0.4966 GB, free: 7.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1497, allocations: 0 / 0.4966 GB, free: 7.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001624/0.1499, allocations: 0 / 0.4966 GB, free: 7.582 MB / 382.1 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.006937/0.1569, allocations: 4.069 MB / 0.5006 GB, free: 3.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1569, allocations: 8.031 kB / 0.5006 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.1681, allocations: 3.076 MB / 0.5036 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1948/0.3629, allocations: 1.902 MB / 0.5055 GB, free: 45.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000303/0.3633, allocations: 187.5 kB / 0.5057 GB, free: 45.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/0.3647, allocations: 246 kB / 0.5059 GB, free: 45.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/0.385, allocations: 10.18 MB / 0.5158 GB, free: 41.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/0.3852, allocations: 25.22 kB / 0.5159 GB, free: 41.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008568/0.386, allocations: 117.3 kB / 0.516 GB, free: 41.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004245/0.3903, allocations: 2.472 MB / 0.5184 GB, free: 40.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/0.4068, allocations: 9.352 MB / 0.5275 GB, free: 35.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03743/0.4443, allocations: 31.68 MB / 0.5584 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00513/0.4495, allocations: 3.347 MB / 0.5617 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.4511, allocations: 1.075 MB / 0.5628 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.4522, allocations: 1.309 MB / 0.564 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.4523, allocations: 47.88 kB / 0.5641 GB, free: 13.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 6.513e-06/0.4523, allocations: 0 / 0.5641 GB, free: 13.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=191): time 0.02038/0.4727, allocations: 9.105 MB / 0.573 GB, free: 3.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.4728, allocations: 64.72 kB / 0.573 GB, free: 3.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00379/0.4766, allocations: 2.611 MB / 0.5756 GB, free: 1.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.4767, allocations: 45.7 kB / 0.5756 GB, free: 1.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.4785, allocations: 2.674 MB / 0.5782 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006857/0.4792, allocations: 0.7055 MB / 0.5789 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/0.4805, allocations: 0.9646 MB / 0.5799 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.4806, allocations: 301.1 kB / 0.5802 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/0.483, allocations: 1.552 MB / 0.5817 GB, free: 10.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004178/0.4872, allocations: 4.391 MB / 0.586 GB, free: 5.133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007152/0.4944, allocations: 6.563 MB / 0.5924 GB, free: 13.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-05/0.4945, allocations: 28 kB / 0.5924 GB, free: 13.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.00983/0.5044, allocations: 5.855 MB / 0.5981 GB, free: 7.277 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.5045, allocations: 48 kB / 0.5982 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/0.5046, allocations: 96 kB / 0.5983 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003787/0.505, allocations: 180.9 kB / 0.5984 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/0.5082, allocations: 1.072 MB / 0.5995 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.5099, allocations: 1.8 MB / 0.6012 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/0.5125, allocations: 211.9 kB / 0.6014 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005385/0.5131, allocations: 288 kB / 0.6017 GB, free: 3.449 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 589 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003139/0.5162, allocations: 1.993 MB / 0.6037 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004614/0.5167, allocations: 252.7 kB / 0.6039 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003877/0.5206, allocations: 2.53 MB / 0.6064 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/0.5206, allocations: 20 kB / 0.6064 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.5206, allocations: 3.984 kB / 0.6064 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.5207, allocations: 7.922 kB / 0.6064 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/0.5343, allocations: 7.964 MB / 0.6142 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/0.5344, allocations: 11.94 kB / 0.6142 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.5355, allocations: 251.6 kB / 0.6144 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.5356, allocations: 56.83 kB / 0.6145 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.5358, allocations: 39.98 kB / 0.6145 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.5371, allocations: 1.629 MB / 0.6161 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/0.5372, allocations: 19.88 kB / 0.6161 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005124/0.5423, allocations: 4.015 MB / 0.6201 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006618/0.543, allocations: 298.1 kB / 0.6203 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004691/0.5434, allocations: 36 kB / 0.6204 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.5445, allocations: 55.94 kB / 0.6204 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.5447, allocations: 124.7 kB / 0.6205 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.5448, allocations: 60 kB / 0.6206 GB, free: 15.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00282/0.5476, allocations: 1.607 MB / 0.6222 GB, free: 13.94 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5477, allocations: 0 / 0.6222 GB, free: 13.94 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004226/0.5519, allocations: 0.7955 MB / 0.6229 GB, free: 13.15 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006298/0.5525, allocations: 180.2 kB / 0.6231 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008713/0.5613, allocations: 5.508 MB / 0.6285 GB, free: 7.484 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.5613, allocations: 0 / 0.6285 GB, free: 7.484 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.563, allocations: 1.237 MB / 0.6297 GB, free: 6.242 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.5654, allocations: 340.8 kB / 0.63 GB, free: 5.914 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/0.5831, allocations: 8.962 MB / 0.6388 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005087/0.5883, allocations: 3.141 MB / 0.6419 GB, free: 9.621 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008811/0.5892, allocations: 227.4 kB / 0.6421 GB, free: 9.398 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5892, allocations: 0 / 0.6421 GB, free: 9.398 MB / 478.1 MB Notification: Performance of Templates: time 0.3147/0.9039, allocations: 64.95 MB / 0.7055 GB, free: 168.2 MB / 0.5137 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches