Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_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.001512/0.001512, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001423/0.001423, allocations: 192.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.198/0.198, allocations: 43.52 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 77.47 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1124, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0095/0.122, allocations: 8.698 MB / 0.4959 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007317/0.1293, allocations: 3.445 MB / 0.4993 GB, free: 72 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.1312, allocations: 47.88 kB / 0.4993 GB, free: 24 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002862/0.134, allocations: 1.363 MB / 0.5006 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.1371, allocations: 0.9613 MB / 0.5016 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.1383, allocations: 0.5224 MB / 0.5021 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002299/0.1406, allocations: 1.694 MB / 0.5037 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/0.1426, allocations: 1.674 MB / 0.5054 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.1437, allocations: 0.6737 MB / 0.506 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.1449, allocations: 0.8996 MB / 0.5069 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.1451, allocations: 140 kB / 0.5071 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.1462, allocations: 0.5968 MB / 0.5076 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006641/0.1468, allocations: 0.7364 MB / 0.5084 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009393/0.1478, allocations: 0.8431 MB / 0.5092 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002639/0.1504, allocations: 2.518 MB / 0.5116 GB, free: 3.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1505, allocations: 0 / 0.5116 GB, free: 3.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1505, allocations: 4 kB / 0.5116 GB, free: 3.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.52e-05/0.1505, allocations: 4 kB / 0.5116 GB, free: 3.32 MB / 398.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.003506/0.154, allocations: 2.073 MB / 0.5137 GB, free: 1.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1541, allocations: 11.89 kB / 0.5137 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002645/0.1544, allocations: 249.5 kB / 0.5139 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.1555, allocations: 299.4 kB / 0.5142 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/0.1582, allocations: 1.551 MB / 0.5157 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.847e-05/0.1583, allocations: 90.45 kB / 0.5158 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.1585, allocations: 128 kB / 0.5159 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005062/0.1635, allocations: 2.98 MB / 0.5188 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.594e-05/0.1636, allocations: 15.83 kB / 0.5189 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.1637, allocations: 55.97 kB / 0.5189 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005903/0.1643, allocations: 438 kB / 0.5193 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004344/0.1687, allocations: 2.16 MB / 0.5214 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2247/0.3934, allocations: 10.72 MB / 0.5319 GB, free: 33.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003919/0.3974, allocations: 1.227 MB / 0.5331 GB, free: 33.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005526/0.398, allocations: 409.7 kB / 0.5335 GB, free: 33.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003488/0.4015, allocations: 3 MB / 0.5364 GB, free: 32.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.4015, allocations: 38.86 kB / 0.5365 GB, free: 31.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 1.923e-06/0.4015, allocations: 0 / 0.5365 GB, free: 31.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01121/0.4127, allocations: 3.837 MB / 0.5402 GB, free: 31.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.4128, allocations: 84.66 kB / 0.5403 GB, free: 31.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.4142, allocations: 1.221 MB / 0.5415 GB, free: 30.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.4143, allocations: 36.64 kB / 0.5415 GB, free: 30.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/0.4148, allocations: 0.9719 MB / 0.5425 GB, free: 30.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.4149, allocations: 226.8 kB / 0.5427 GB, free: 30.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/0.4153, allocations: 313.8 kB / 0.543 GB, free: 29.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.982e-05/0.4154, allocations: 306.3 kB / 0.5433 GB, free: 29.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007496/0.4161, allocations: 407.8 kB / 0.5437 GB, free: 29.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009999/0.4171, allocations: 1.247 MB / 0.5449 GB, free: 28.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.4188, allocations: 1.795 MB / 0.5466 GB, free: 26.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/0.4188, allocations: 9 kB / 0.5466 GB, free: 26.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002635/0.4214, allocations: 1.708 MB / 0.5483 GB, free: 26.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.4215, allocations: 18.78 kB / 0.5483 GB, free: 26.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/0.4215, allocations: 29.97 kB / 0.5484 GB, free: 26.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002123/0.4217, allocations: 92.72 kB / 0.5484 GB, free: 26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.4228, allocations: 353.5 kB / 0.5488 GB, free: 25.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.4241, allocations: 1.876 MB / 0.5506 GB, free: 24.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.4251, allocations: 68.92 kB / 0.5507 GB, free: 24.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.4252, allocations: 85.03 kB / 0.5508 GB, free: 24.23 MB / 414.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.001001/0.4262, allocations: 0.6518 MB / 0.5514 GB, free: 23.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.4264, allocations: 124.5 kB / 0.5515 GB, free: 23.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.4276, allocations: 0.7042 MB / 0.5522 GB, free: 23.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.4276, allocations: 9.594 kB / 0.5522 GB, free: 23.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4276, allocations: 4.531 kB / 0.5522 GB, free: 23.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4276, allocations: 2.984 kB / 0.5522 GB, free: 23.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/0.4313, allocations: 2.239 MB / 0.5544 GB, free: 22.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.4313, allocations: 3.281 kB / 0.5544 GB, free: 22.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.4317, allocations: 97.64 kB / 0.5545 GB, free: 22.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002048/0.432, allocations: 65.38 kB / 0.5546 GB, free: 22.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.432, allocations: 17.16 kB / 0.5546 GB, free: 22.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.4335, allocations: 1.939 MB / 0.5565 GB, free: 20.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.4335, allocations: 10.88 kB / 0.5565 GB, free: 20.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.4351, allocations: 1.11 MB / 0.5576 GB, free: 20.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.4354, allocations: 227.6 kB / 0.5578 GB, free: 19.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.4356, allocations: 14.88 kB / 0.5578 GB, free: 19.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.4359, allocations: 22.75 kB / 0.5578 GB, free: 19.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.436, allocations: 51.19 kB / 0.5579 GB, free: 19.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.436, allocations: 19.06 kB / 0.5579 GB, free: 19.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009876/0.437, allocations: 0.7809 MB / 0.5587 GB, free: 19.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.437, allocations: 0 / 0.5587 GB, free: 19.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001685/0.4387, allocations: 295.9 kB / 0.5589 GB, free: 19.49 MB / 414.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.001643/0.4404, allocations: 1.678 MB / 0.5606 GB, free: 18.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.442, allocations: 1.104 MB / 0.5616 GB, free: 17.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.442, allocations: 0 / 0.5616 GB, free: 17.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004455/0.4425, allocations: 402.9 kB / 0.562 GB, free: 17.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009193/0.4434, allocations: 192.9 kB / 0.5622 GB, free: 17.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.4549, allocations: 11.57 MB / 0.5735 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008123/0.4558, allocations: 1.452 MB / 0.5749 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007737/0.4566, allocations: 413.2 kB / 0.5753 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/0.4571, allocations: 0.5852 MB / 0.5759 GB, free: 5.238 MB / 414.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4571, allocations: 0 / 0.5759 GB, free: 5.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04699/0.5041, allocations: 23.24 MB / 0.5986 GB, free: 13.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.78, allocations: 7.734 kB / 0.5986 GB, free: 13.97 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches