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.001751/0.001751, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002189/0.002189, allocations: 214.5 kB / 22.99 MB, free: 4.605 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.728/1.728, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2448/0.2448, allocations: 44.26 MB / 330.3 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 179] 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.002486/0.002486, allocations: 71.89 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1421, allocations: 61.05 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01156/0.1537, allocations: 7.683 MB / 0.5237 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008475/0.1621, allocations: 3.274 MB / 0.5269 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002465/0.1646, allocations: 55.75 kB / 0.5269 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003966/0.1686, allocations: 1.332 MB / 0.5282 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004306/0.1729, allocations: 0.969 MB / 0.5292 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.1744, allocations: 0.5147 MB / 0.5297 GB, free: 9.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002808/0.1772, allocations: 1.699 MB / 0.5313 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.1788, allocations: 1.268 MB / 0.5326 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.1799, allocations: 0.6893 MB / 0.5332 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.1812, allocations: 0.8838 MB / 0.5341 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.1814, allocations: 140 kB / 0.5342 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.1827, allocations: 0.5812 MB / 0.5348 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000831/0.1835, allocations: 0.7557 MB / 0.5355 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000745/0.1842, allocations: 0.6567 MB / 0.5362 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.1872, allocations: 2.541 MB / 0.5387 GB, free: 0 / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1872, allocations: 0 / 0.5387 GB, free: 0 / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1872, allocations: 0 / 0.5387 GB, free: 0 / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001205/0.1874, allocations: 128 / 0.5387 GB, free: 30.06 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.004259/0.1916, allocations: 1.999 MB / 0.5406 GB, free: 29.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.1917, allocations: 9.625 kB / 0.5406 GB, free: 29.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003016/0.192, allocations: 248.4 kB / 0.5409 GB, free: 29.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.1932, allocations: 286 kB / 0.5411 GB, free: 29.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.1961, allocations: 1.495 MB / 0.5426 GB, free: 28.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.08e-05/0.1962, allocations: 95.36 kB / 0.5427 GB, free: 28.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.1964, allocations: 120.7 kB / 0.5428 GB, free: 28.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005688/0.2021, allocations: 3.041 MB / 0.5458 GB, free: 27.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-05/0.2022, allocations: 18.84 kB / 0.5458 GB, free: 27.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.2023, allocations: 55.44 kB / 0.5458 GB, free: 27.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007314/0.203, allocations: 437.1 kB / 0.5463 GB, free: 27.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005161/0.2082, allocations: 2.152 MB / 0.5484 GB, free: 26.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.2218, allocations: 10.26 MB / 0.5584 GB, free: 19.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004286/0.2261, allocations: 1.177 MB / 0.5595 GB, free: 19.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008401/0.2269, allocations: 367.7 kB / 0.5599 GB, free: 19.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004582/0.2315, allocations: 2.024 MB / 0.5619 GB, free: 18.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.2315, allocations: 39.12 kB / 0.5619 GB, free: 18.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.856e-06/0.2315, allocations: 0 / 0.5619 GB, free: 18.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01303/0.2446, allocations: 3.593 MB / 0.5654 GB, free: 16.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.2446, allocations: 85.05 kB / 0.5655 GB, free: 16.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.2473, allocations: 1.273 MB / 0.5667 GB, free: 16.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.2473, allocations: 37.58 kB / 0.5668 GB, free: 16.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007089/0.248, allocations: 0.9627 MB / 0.5677 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.2483, allocations: 229.1 kB / 0.5679 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004932/0.2488, allocations: 312.5 kB / 0.5682 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.2488, allocations: 306.2 kB / 0.5685 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008374/0.2497, allocations: 406 kB / 0.5689 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.2511, allocations: 1.279 MB / 0.5701 GB, free: 13.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.2533, allocations: 1.79 MB / 0.5719 GB, free: 11.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.843e-05/0.2533, allocations: 8.469 kB / 0.5719 GB, free: 11.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003191/0.2565, allocations: 1.719 MB / 0.5736 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.2565, allocations: 18.38 kB / 0.5736 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.479e-05/0.2566, allocations: 28.81 kB / 0.5736 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/0.2569, allocations: 89.12 kB / 0.5737 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.258, allocations: 354.4 kB / 0.574 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.2595, allocations: 1.769 MB / 0.5758 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.2607, allocations: 65.23 kB / 0.5758 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.2609, allocations: 84.56 kB / 0.5759 GB, free: 8.867 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.00102/0.2619, allocations: 0.6432 MB / 0.5765 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.2622, allocations: 124.5 kB / 0.5767 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.2635, allocations: 0.7073 MB / 0.5774 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.2635, allocations: 4.781 kB / 0.5774 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2635, allocations: 5.25 kB / 0.5774 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2635, allocations: 9.172 kB / 0.5774 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/0.2675, allocations: 2.126 MB / 0.5794 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.2675, allocations: 4.938 kB / 0.5795 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.2679, allocations: 101.5 kB / 0.5796 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.268, allocations: 65.61 kB / 0.5796 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.2681, allocations: 11.38 kB / 0.5796 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.2694, allocations: 1.837 MB / 0.5814 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.2694, allocations: 8.062 kB / 0.5814 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.2708, allocations: 1.101 MB / 0.5825 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004768/0.2712, allocations: 155.4 kB / 0.5826 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.2715, allocations: 15.98 kB / 0.5827 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.2719, allocations: 23.98 kB / 0.5827 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.272, allocations: 53.27 kB / 0.5827 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.272, allocations: 16 kB / 0.5828 GB, free: 3.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009047/0.2729, allocations: 0.7758 MB / 0.5835 GB, free: 3.031 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2729, allocations: 0 / 0.5835 GB, free: 3.031 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001524/0.2744, allocations: 304.1 kB / 0.5838 GB, free: 2.734 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.00147/0.2759, allocations: 1.665 MB / 0.5854 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.2776, allocations: 1.053 MB / 0.5865 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.036e-06/0.2776, allocations: 7.938 kB / 0.5865 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000616/0.2782, allocations: 392.5 kB / 0.5868 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.2793, allocations: 185.1 kB / 0.587 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.2966, allocations: 11.6 MB / 0.5983 GB, free: 2.711 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.2977, allocations: 0.8625 MB / 0.5992 GB, free: 1.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009971/0.2987, allocations: 407 kB / 0.5996 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007027/0.2994, allocations: 0.5852 MB / 0.6001 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2994, allocations: 3.938 kB / 0.6001 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07068/0.3701, allocations: 24.29 MB / 0.6239 GB, free: 8.551 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.18, allocations: 0 / 0.6239 GB, free: 8.551 MB / 462.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: 16.948578776791692]