Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001308/0.001308, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.382/1.382, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2237/0.2237, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.5 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1217, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01006/0.1318, allocations: 8.672 MB / 478 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006626/0.1385, allocations: 3.448 MB / 481.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008373/0.1393, allocations: 43.88 kB / 481.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.1419, allocations: 1.374 MB / 482.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.1438, allocations: 0.9301 MB / 483.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009365/0.1448, allocations: 0.5147 MB / 484.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.1465, allocations: 1.675 MB / 486 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.1482, allocations: 1.667 MB / 487.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007071/0.1489, allocations: 0.6698 MB / 488.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009658/0.1499, allocations: 0.884 MB / 489.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001997/0.1501, allocations: 140 kB / 489.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009491/0.151, allocations: 0.5968 MB / 490 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006098/0.1517, allocations: 0.7209 MB / 490.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007308/0.1524, allocations: 0.8276 MB / 491.5 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002639/0.1551, allocations: 2.453 MB / 494 MB, free: 5.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1551, allocations: 0 / 494 MB, free: 5.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1551, allocations: 4 kB / 494 MB, free: 5.523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.742e-05/0.1552, allocations: 4 kB / 494 MB, free: 5.52 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.004475/0.1596, allocations: 2.008 MB / 496 MB, free: 3.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1597, allocations: 15.97 kB / 496 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002933/0.16, allocations: 253.5 kB / 496.2 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.1613, allocations: 274.5 kB / 496.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.1637, allocations: 1.371 MB / 497.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.11e-05/0.1637, allocations: 94.39 kB / 498 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.1639, allocations: 124 kB / 498.1 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005154/0.1691, allocations: 2.988 MB / 0.4893 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.233e-05/0.1692, allocations: 15.78 kB / 0.4894 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.1693, allocations: 55.97 kB / 0.4894 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006985/0.17, allocations: 434 kB / 0.4898 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004731/0.1748, allocations: 2.163 MB / 0.4919 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.1879, allocations: 10.73 MB / 0.5024 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2381/0.426, allocations: 1.225 MB / 0.5036 GB, free: 49.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009968/0.4271, allocations: 411.1 kB / 0.504 GB, free: 49.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00542/0.4325, allocations: 2.992 MB / 0.5069 GB, free: 47.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.4326, allocations: 40.86 kB / 0.507 GB, free: 47.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 5.5e-06/0.4326, allocations: 1.531 kB / 0.507 GB, free: 47.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01336/0.4459, allocations: 3.749 MB / 0.5106 GB, free: 46.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.4461, allocations: 89.16 kB / 0.5107 GB, free: 46.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.4481, allocations: 1.194 MB / 0.5119 GB, free: 46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.4481, allocations: 36.48 kB / 0.5119 GB, free: 45.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006049/0.4487, allocations: 0.938 MB / 0.5128 GB, free: 45.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.4489, allocations: 219.9 kB / 0.513 GB, free: 45.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003847/0.4493, allocations: 313 kB / 0.5133 GB, free: 44.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.4493, allocations: 305.7 kB / 0.5136 GB, free: 44.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.4501, allocations: 408.8 kB / 0.514 GB, free: 44.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.4513, allocations: 1.247 MB / 0.5152 GB, free: 43.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.4533, allocations: 1.802 MB / 0.517 GB, free: 41.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.4533, allocations: 8.984 kB / 0.517 GB, free: 41.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003201/0.4565, allocations: 1.704 MB / 0.5187 GB, free: 40.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.4565, allocations: 17.56 kB / 0.5187 GB, free: 40.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.373e-05/0.4566, allocations: 30.11 kB / 0.5187 GB, free: 40.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002482/0.4569, allocations: 95.45 kB / 0.5188 GB, free: 40.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4579, allocations: 354.1 kB / 0.5191 GB, free: 40.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.4593, allocations: 1.864 MB / 0.521 GB, free: 39.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.4603, allocations: 69.16 kB / 0.521 GB, free: 39.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-05/0.4604, allocations: 85.44 kB / 0.5211 GB, free: 39.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (190): * Single equations (assignments): 189 * Array equations: 0 * 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.000863/0.4613, allocations: 0.6486 MB / 0.5217 GB, free: 38.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.4614, allocations: 114.8 kB / 0.5219 GB, free: 38.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.4626, allocations: 0.7054 MB / 0.5225 GB, free: 38.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.4626, allocations: 13.12 kB / 0.5226 GB, free: 38.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4627, allocations: 1.156 kB / 0.5226 GB, free: 38.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4627, allocations: 0 / 0.5226 GB, free: 38.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.4656, allocations: 2.233 MB / 0.5247 GB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.4656, allocations: 11.52 kB / 0.5247 GB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.466, allocations: 97.11 kB / 0.5248 GB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000162/0.4662, allocations: 67.73 kB / 0.5249 GB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.4662, allocations: 15.91 kB / 0.5249 GB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.4673, allocations: 1.938 MB / 0.5268 GB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4674, allocations: 7.844 kB / 0.5268 GB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.4686, allocations: 1.107 MB / 0.5279 GB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.4688, allocations: 181.4 kB / 0.5281 GB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.4689, allocations: 15.72 kB / 0.5281 GB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.4692, allocations: 27.33 kB / 0.5281 GB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.4693, allocations: 54.12 kB / 0.5282 GB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.4694, allocations: 19.5 kB / 0.5282 GB, free: 34.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001001/0.4704, allocations: 0.766 MB / 0.5289 GB, free: 34.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4704, allocations: 0 / 0.5289 GB, free: 34.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001728/0.4721, allocations: 297.8 kB / 0.5292 GB, free: 34.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00154/0.4737, allocations: 1.662 MB / 0.5308 GB, free: 33.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.4753, allocations: 1.188 MB / 0.532 GB, free: 32.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4753, allocations: 0.6875 kB / 0.532 GB, free: 32.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.4757, allocations: 418.1 kB / 0.5324 GB, free: 31.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008744/0.4766, allocations: 189.8 kB / 0.5326 GB, free: 31.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.4886, allocations: 12.04 MB / 0.5443 GB, free: 18.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009802/0.4897, allocations: 1.451 MB / 0.5458 GB, free: 16.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00101/0.4907, allocations: 409.7 kB / 0.5461 GB, free: 16.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/0.4912, allocations: 0.5774 MB / 0.5467 GB, free: 15.91 MB / 382.1 MB Notification: Performance of SimCode: time 2.054e-06/0.4912, allocations: 0 / 0.5467 GB, free: 15.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0667/0.5579, allocations: 22.61 MB / 0.5688 GB, free: 9.523 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.62, allocations: 5.031 kB / 0.5688 GB, free: 9.52 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches