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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 111.7 kB / 19.69 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 218.7 kB / 23.01 MB, free: 5.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2279/0.2279, allocations: 44.24 MB / 330.3 MB, free: 9.531 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 86.52 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1329, allocations: 61.03 MB / 0.5162 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01071/0.1436, allocations: 8.756 MB / 0.5247 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008202/0.1518, allocations: 3.504 MB / 0.5281 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.1533, allocations: 51.75 kB / 0.5282 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002862/0.1561, allocations: 1.39 MB / 0.5295 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.1589, allocations: 0.9651 MB / 0.5305 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1601, allocations: 0.5186 MB / 0.531 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.1627, allocations: 1.691 MB / 0.5326 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.1644, allocations: 1.272 MB / 0.5339 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.1656, allocations: 0.6932 MB / 0.5346 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.1671, allocations: 0.9502 MB / 0.5355 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002591/0.1673, allocations: 140 kB / 0.5356 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.1686, allocations: 0.6124 MB / 0.5362 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008231/0.1695, allocations: 0.7596 MB / 0.537 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009418/0.1704, allocations: 0.8354 MB / 0.5378 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2427/0.4131, allocations: 2.527 MB / 0.5402 GB, free: 14.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.4131, allocations: 2.156 kB / 0.5402 GB, free: 14.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4131, allocations: 0 / 0.5402 GB, free: 14.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.142e-05/0.4132, allocations: 0 / 0.5402 GB, free: 14.07 MB / 414.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.004641/0.4179, allocations: 1.997 MB / 0.5422 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.4179, allocations: 10.28 kB / 0.5422 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003406/0.4183, allocations: 247.4 kB / 0.5424 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.4195, allocations: 289.1 kB / 0.5427 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/0.4223, allocations: 1.483 MB / 0.5442 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/0.4224, allocations: 95.92 kB / 0.5443 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.4226, allocations: 129.2 kB / 0.5444 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00541/0.428, allocations: 2.988 MB / 0.5473 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.278e-05/0.4281, allocations: 15.17 kB / 0.5473 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.4282, allocations: 55.05 kB / 0.5474 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007019/0.4289, allocations: 431.3 kB / 0.5478 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005372/0.4343, allocations: 2.167 MB / 0.5499 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.4473, allocations: 10.66 MB / 0.5603 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003868/0.4511, allocations: 1.183 MB / 0.5615 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006691/0.4518, allocations: 369 kB / 0.5618 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004136/0.4559, allocations: 2.091 MB / 0.5638 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.456, allocations: 41.94 kB / 0.5639 GB, free: 3.914 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.255e-06/0.456, allocations: 0 / 0.5639 GB, free: 3.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01141/0.4674, allocations: 3.599 MB / 0.5674 GB, free: 2.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.4674, allocations: 89.16 kB / 0.5675 GB, free: 2.566 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.469, allocations: 1.214 MB / 0.5687 GB, free: 2.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.469, allocations: 35.86 kB / 0.5687 GB, free: 2.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/0.4695, allocations: 0.9734 MB / 0.5697 GB, free: 1.297 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.4696, allocations: 233.5 kB / 0.5699 GB, free: 1.129 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.4699, allocations: 315.5 kB / 0.5702 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.986e-05/0.47, allocations: 302.7 kB / 0.5705 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005787/0.4706, allocations: 407 kB / 0.5709 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.4718, allocations: 1.244 MB / 0.5721 GB, free: 15.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.4741, allocations: 1.799 MB / 0.5738 GB, free: 13.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/0.4741, allocations: 12.3 kB / 0.5738 GB, free: 13.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002751/0.4768, allocations: 1.712 MB / 0.5755 GB, free: 13.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.4769, allocations: 17.75 kB / 0.5755 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/0.4769, allocations: 28.94 kB / 0.5756 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.4771, allocations: 87.05 kB / 0.5756 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.4781, allocations: 352.9 kB / 0.576 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.48, allocations: 1.778 MB / 0.5777 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.4811, allocations: 64.23 kB / 0.5778 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.4812, allocations: 91.41 kB / 0.5779 GB, free: 11.68 MB / 430.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.001063/0.4822, allocations: 0.6416 MB / 0.5785 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.4824, allocations: 120.7 kB / 0.5786 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.4836, allocations: 0.7129 MB / 0.5793 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4837, allocations: 7.562 kB / 0.5793 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4837, allocations: 1.422 kB / 0.5793 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.4837, allocations: 3.984 kB / 0.5793 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.4872, allocations: 2.204 MB / 0.5815 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.4872, allocations: 4.062 kB / 0.5815 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.4876, allocations: 93.8 kB / 0.5816 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001903/0.4878, allocations: 63.38 kB / 0.5816 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.4878, allocations: 19.09 kB / 0.5816 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.4896, allocations: 1.838 MB / 0.5834 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.4896, allocations: 12.75 kB / 0.5834 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.4912, allocations: 1.099 MB / 0.5845 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.4916, allocations: 148.7 kB / 0.5847 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.4917, allocations: 22.58 kB / 0.5847 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.4921, allocations: 22.98 kB / 0.5847 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.4922, allocations: 58.61 kB / 0.5848 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.4922, allocations: 19.64 kB / 0.5848 GB, free: 6.953 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001009/0.4932, allocations: 0.7714 MB / 0.5855 GB, free: 6.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4932, allocations: 0 / 0.5855 GB, free: 6.531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001373/0.4946, allocations: 298.8 kB / 0.5858 GB, free: 6.5 MB / 430.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.00182/0.4964, allocations: 1.677 MB / 0.5874 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.498, allocations: 1.059 MB / 0.5885 GB, free: 4.758 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.498, allocations: 0 / 0.5885 GB, free: 4.758 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.4986, allocations: 392.2 kB / 0.5889 GB, free: 4.531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.4996, allocations: 192.6 kB / 0.589 GB, free: 4.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.5163, allocations: 11.59 MB / 0.6004 GB, free: 9.012 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.5176, allocations: 1.458 MB / 0.6018 GB, free: 7.527 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009986/0.5186, allocations: 407.2 kB / 0.6022 GB, free: 7.133 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009803/0.5196, allocations: 0.5813 MB / 0.6027 GB, free: 6.555 MB / 446.1 MB Notification: Performance of SimCode: time 1.794e-06/0.5196, allocations: 0 / 0.6027 GB, free: 6.555 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09737/0.617, allocations: 24.59 MB / 0.6268 GB, free: 13.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.31, allocations: 8.062 kB / 0.6268 GB, free: 13.97 MB / 478.1 MB " [Timeout remaining time 646] (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.0009996 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.428760990005685]