Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001848/0.001848, allocations: 107.4 kB / 20.48 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002283/0.002283, allocations: 211.5 kB / 23.78 MB, free: 4.43 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.5 MB / 257.5 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.96 MB / 360.9 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 83.86 kB / 0.4962 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3338, allocations: 66.09 MB / 0.5608 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0138/0.3476, allocations: 10.71 MB / 0.5712 GB, free: 9.254 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008195/0.3558, allocations: 3.672 MB / 0.5748 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/0.3577, allocations: 75.75 kB / 0.5749 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003012/0.3607, allocations: 1.304 MB / 0.5762 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004778/0.3655, allocations: 1.781 MB / 0.5779 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.3667, allocations: 419.2 kB / 0.5783 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005416/0.3721, allocations: 3.599 MB / 0.5818 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003415/0.3755, allocations: 1.834 MB / 0.5836 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00285/0.3784, allocations: 1.21 MB / 0.5848 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003401/0.3818, allocations: 1.845 MB / 0.5866 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008774/0.3827, allocations: 240 kB / 0.5868 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.3848, allocations: 0.7137 MB / 0.5875 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.3867, allocations: 1.601 MB / 0.5891 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002395/0.3891, allocations: 1.339 MB / 0.5904 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008569/0.3976, allocations: 6.126 MB / 0.5964 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3977, allocations: 0 / 0.5964 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3977, allocations: 8 kB / 0.5964 GB, free: 15.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000195/0.3979, allocations: 0 / 0.5964 GB, free: 15.38 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.009362/0.4072, allocations: 4.069 MB / 0.6004 GB, free: 11.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.4073, allocations: 8.031 kB / 0.6004 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001112/0.4084, allocations: 0.704 MB / 0.6011 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.4196, allocations: 3.153 MB / 0.6041 GB, free: 7.371 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005529/0.4252, allocations: 2.095 MB / 0.6062 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.4254, allocations: 192.8 kB / 0.6064 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009058/0.4263, allocations: 239.8 kB / 0.6066 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01794/0.4442, allocations: 10.19 MB / 0.6165 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.766e-05/0.4443, allocations: 23.81 kB / 0.6166 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003876/0.4447, allocations: 119.8 kB / 0.6167 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004292/0.449, allocations: 2.463 MB / 0.6191 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/0.4693, allocations: 9.333 MB / 0.6282 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04996/0.5192, allocations: 30.07 MB / 0.6576 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006118/0.5253, allocations: 2.423 MB / 0.6599 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.527, allocations: 0.9938 MB / 0.6609 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009675/0.528, allocations: 430.6 kB / 0.6613 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.528, allocations: 43.88 kB / 0.6614 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 5.48e-06/0.528, allocations: 0 / 0.6614 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02094/0.549, allocations: 9.193 MB / 0.6703 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.549, allocations: 64.72 kB / 0.6704 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004104/0.5531, allocations: 2.79 MB / 0.6731 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002542/0.5534, allocations: 45.7 kB / 0.6732 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002504/0.5559, allocations: 2.78 MB / 0.6759 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001225/0.5571, allocations: 0.7324 MB / 0.6766 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001675/0.5588, allocations: 0.9653 MB / 0.6775 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.559, allocations: 305.1 kB / 0.6778 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/0.5616, allocations: 1.548 MB / 0.6793 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005418/0.5671, allocations: 4.375 MB / 0.6836 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00867/0.5757, allocations: 6.556 MB / 0.69 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.599e-05/0.5758, allocations: 28 kB / 0.69 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01069/0.5865, allocations: 5.845 MB / 0.6957 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.198e-05/0.5866, allocations: 48 kB / 0.6958 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/0.5867, allocations: 96 kB / 0.6959 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.5871, allocations: 180.8 kB / 0.6961 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/0.5904, allocations: 1.064 MB / 0.6971 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.5923, allocations: 1.694 MB / 0.6988 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/0.5948, allocations: 207.9 kB / 0.6989 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004414/0.5952, allocations: 296 kB / 0.6992 GB, free: 1.582 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (592): * Single equations (assignments): 585 * Array equations: 6 * 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.003283/0.5985, allocations: 1.988 MB / 0.7012 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004543/0.599, allocations: 254.3 kB / 0.7014 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004119/0.6031, allocations: 2.541 MB / 0.7039 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.252e-05/0.6031, allocations: 20 kB / 0.7039 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.6031, allocations: 4 kB / 0.7039 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.6032, allocations: 7.969 kB / 0.7039 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.617, allocations: 7.755 MB / 0.7115 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.617, allocations: 11.94 kB / 0.7115 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.6181, allocations: 251.7 kB / 0.7118 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001808/0.6183, allocations: 56.83 kB / 0.7118 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.803e-05/0.6184, allocations: 43.92 kB / 0.7118 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.62, allocations: 1.515 MB / 0.7133 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/0.62, allocations: 15.94 kB / 0.7133 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006283/0.6263, allocations: 4.032 MB / 0.7173 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009183/0.6272, allocations: 234.2 kB / 0.7175 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.6275, allocations: 36 kB / 0.7175 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008625/0.6284, allocations: 56.02 kB / 0.7176 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/0.6286, allocations: 132.5 kB / 0.7177 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.6288, allocations: 67.97 kB / 0.7178 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002919/0.6317, allocations: 1.603 MB / 0.7193 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6317, allocations: 0 / 0.7193 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004232/0.6359, allocations: 0.7773 MB / 0.7201 GB, free: 11.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.007135/0.6431, allocations: 4.699 MB / 0.7247 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006723/0.6498, allocations: 3.713 MB / 0.7283 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/0.6498, allocations: 0 / 0.7283 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.6518, allocations: 1.171 MB / 0.7295 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.6541, allocations: 362.3 kB / 0.7298 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3393/0.9934, allocations: 33.44 MB / 0.7625 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/0.9964, allocations: 2.589 MB / 0.765 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003002/0.9994, allocations: 1.705 MB / 0.7667 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00196/1.001, allocations: 1.699 MB / 0.7683 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.434e-06/1.001, allocations: 0 / 0.7683 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/1.102, allocations: 45.41 MB / 0.8127 GB, free: 81.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/16.36, allocations: 15.2 kB / 0.8127 GB, free: 81.91 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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: 19.486946891993284]