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.001144/0.001144, allocations: 102.1 kB / 16.27 MB, free: 5.973 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.001273/0.001273, allocations: 187.8 kB / 17.19 MB, free: 5.609 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.494/1.494, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2481/0.2481, allocations: 43.51 MB / 313.9 MB, free: 0.5352 MB / 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.002545/0.002545, allocations: 68.42 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1326, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.008705/0.1414, allocations: 8.688 MB / 449.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008003/0.1494, allocations: 3.449 MB / 452.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.1508, allocations: 47.88 kB / 452.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.1534, allocations: 1.374 MB / 454.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.156, allocations: 0.9339 MB / 455.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.1573, allocations: 0.5225 MB / 455.6 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002199/0.1595, allocations: 1.691 MB / 457.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.1613, allocations: 1.663 MB / 459 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008538/0.1622, allocations: 0.6737 MB / 459.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.1633, allocations: 0.8918 MB / 460.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.1636, allocations: 139.9 kB / 460.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.1649, allocations: 0.5929 MB / 461.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007962/0.1657, allocations: 0.7248 MB / 462 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.1667, allocations: 0.8508 MB / 462.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003583/0.1703, allocations: 2.461 MB / 465.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.1704, allocations: 0 / 465.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1704, allocations: 0 / 465.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.103e-05/0.1705, allocations: 0 / 465.3 MB, free: 13.99 MB / 350.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.004842/0.1753, allocations: 2.025 MB / 467.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.104e-05/0.1754, allocations: 11.89 kB / 467.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003286/0.1757, allocations: 245.5 kB / 467.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.177, allocations: 278.5 kB / 467.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/0.1795, allocations: 1.524 MB / 469.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.792e-05/0.1796, allocations: 98.39 kB / 469.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.1798, allocations: 124 kB / 469.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005286/0.1851, allocations: 2.988 MB / 472.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-05/0.1852, allocations: 11.94 kB / 472.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.1853, allocations: 51.97 kB / 472.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006528/0.186, allocations: 438 kB / 473.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004635/0.1906, allocations: 2.16 MB / 475.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.2055, allocations: 10.75 MB / 486 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004074/0.2096, allocations: 1.223 MB / 487.2 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006046/0.2103, allocations: 411.2 kB / 487.6 MB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004017/0.2143, allocations: 3.009 MB / 490.6 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.2143, allocations: 39 kB / 490.7 MB, free: 3.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.314e-06/0.2144, allocations: 0 / 490.7 MB, free: 3.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.01231/0.2267, allocations: 3.807 MB / 494.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.2268, allocations: 85.67 kB / 494.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.2284, allocations: 1.21 MB / 495.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.2285, allocations: 37.7 kB / 495.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007058/0.2292, allocations: 0.9433 MB / 496.7 MB, free: 13.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.2294, allocations: 225 kB / 497 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003505/0.2298, allocations: 303.2 kB / 497.3 MB, free: 12.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.23, allocations: 309.1 kB / 497.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007677/0.2308, allocations: 407.7 kB / 498 MB, free: 12.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.2322, allocations: 1.246 MB / 499.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.2346, allocations: 1.795 MB / 0.4893 GB, free: 8.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.2346, allocations: 12 kB / 0.4893 GB, free: 8.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003219/0.2378, allocations: 1.699 MB / 0.4909 GB, free: 6.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.2379, allocations: 19.94 kB / 0.491 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-05/0.2379, allocations: 32 kB / 0.491 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.2382, allocations: 97.47 kB / 0.4911 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.2393, allocations: 351.4 kB / 0.4914 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.2411, allocations: 1.877 MB / 0.4932 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.2421, allocations: 71.98 kB / 0.4933 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.2423, allocations: 84 kB / 0.4934 GB, free: 4.035 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.001319/0.2436, allocations: 0.6518 MB / 0.494 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.2438, allocations: 118.5 kB / 0.4941 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.2453, allocations: 0.7106 MB / 0.4948 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.2453, allocations: 8 kB / 0.4948 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2453, allocations: 0 / 0.4948 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2453, allocations: 4 kB / 0.4948 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003695/0.249, allocations: 2.235 MB / 0.497 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.2491, allocations: 4 kB / 0.497 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.2494, allocations: 91.89 kB / 0.4971 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/0.2496, allocations: 73.25 kB / 0.4972 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/0.2497, allocations: 19.98 kB / 0.4972 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.2517, allocations: 1.939 MB / 0.4991 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.2517, allocations: 4 kB / 0.4991 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.2534, allocations: 1.103 MB / 0.5002 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.2538, allocations: 215.7 kB / 0.5004 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.2539, allocations: 16 kB / 0.5004 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.2543, allocations: 15.98 kB / 0.5004 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.2544, allocations: 55.81 kB / 0.5005 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.2545, allocations: 16.06 kB / 0.5005 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001314/0.2558, allocations: 0.7798 MB / 0.5013 GB, free: 11.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.2558, allocations: 0 / 0.5013 GB, free: 11.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00169/0.2575, allocations: 296 kB / 0.5015 GB, free: 11.34 MB / 398.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.002088/0.2596, allocations: 1.686 MB / 0.5032 GB, free: 9.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.2617, allocations: 1.194 MB / 0.5043 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.2617, allocations: 7.938 kB / 0.5044 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005743/0.2623, allocations: 407 kB / 0.5047 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009893/0.2633, allocations: 197.5 kB / 0.5049 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/0.2796, allocations: 12.14 MB / 0.5168 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.2812, allocations: 1.447 MB / 0.5182 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001114/0.2823, allocations: 413.7 kB / 0.5186 GB, free: 8.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008589/0.2832, allocations: 0.5851 MB / 0.5192 GB, free: 7.898 MB / 414.1 MB Notification: Performance of SimCode: time 1.934e-06/0.2832, allocations: 0 / 0.5192 GB, free: 7.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2962/0.5794, allocations: 22.75 MB / 0.5414 GB, free: 86.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.6, allocations: 11.88 kB / 0.5414 GB, free: 86.77 MB / 414.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