Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.001376/0.001376, allocations: 110.2 kB / 19.69 MB, free: 2.203 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.00158/0.00158, allocations: 223.3 kB / 23.01 MB, free: 5.039 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.484/1.484, 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.2375/0.2375, allocations: 44.25 MB / 330.3 MB, free: 9.594 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.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",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.002581/0.002581, allocations: 71.89 kB / 467.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1323, allocations: 61.05 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01763/0.1499, allocations: 12.75 MB / 0.5286 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009283/0.1592, allocations: 3.93 MB / 0.5324 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.1616, allocations: 67.75 kB / 0.5325 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003596/0.1652, allocations: 1.362 MB / 0.5338 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005279/0.1705, allocations: 1.841 MB / 0.5356 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.1719, allocations: 431.2 kB / 0.536 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2552/0.4271, allocations: 3.648 MB / 0.5396 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004325/0.4315, allocations: 1.877 MB / 0.5414 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.4347, allocations: 1.26 MB / 0.5427 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004273/0.4389, allocations: 1.959 MB / 0.5446 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001352/0.4403, allocations: 242.7 kB / 0.5448 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.4433, allocations: 0.8522 MB / 0.5457 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003475/0.4468, allocations: 1.668 MB / 0.5473 GB, free: 9.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004461/0.4512, allocations: 1.942 MB / 0.5492 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.4629, allocations: 6.298 MB / 0.5553 GB, free: 7.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.4629, allocations: 0 / 0.5553 GB, free: 7.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4629, allocations: 4.875 kB / 0.5553 GB, free: 7.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000316/0.4632, allocations: 0 / 0.5553 GB, free: 7.477 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01368/0.4769, allocations: 4.212 MB / 0.5594 GB, free: 5.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.4769, allocations: 8.656 kB / 0.5595 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003081/0.48, allocations: 0.7186 MB / 0.5602 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.492, allocations: 3.11 MB / 0.5632 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00738/0.4994, allocations: 2.355 MB / 0.5655 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003738/0.4998, allocations: 192.4 kB / 0.5657 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002164/0.502, allocations: 260.8 kB / 0.5659 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/0.525, allocations: 10.39 MB / 0.5761 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.5251, allocations: 22.06 kB / 0.5761 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007805/0.5259, allocations: 123.3 kB / 0.5762 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004264/0.5301, allocations: 2.554 MB / 0.5787 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01984/0.55, allocations: 9.452 MB / 0.5879 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05984/0.6098, allocations: 32.2 MB / 0.6194 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006227/0.616, allocations: 2.366 MB / 0.6217 GB, free: 3.008 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.618, allocations: 0.9995 MB / 0.6227 GB, free: 2.008 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000974/0.6189, allocations: 437.1 kB / 0.6231 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/0.619, allocations: 58.94 kB / 0.6231 GB, free: 1.527 MB / 462.1 MB Notification: Performance of pre-optimization done (n=187): time 5.55e-06/0.619, allocations: 0 / 0.6231 GB, free: 1.527 MB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.02781/0.6468, allocations: 9.707 MB / 0.6326 GB, free: 7.797 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/0.6469, allocations: 93.98 kB / 0.6327 GB, free: 7.691 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005203/0.6521, allocations: 2.678 MB / 0.6353 GB, free: 4.996 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003841/0.6525, allocations: 53.61 kB / 0.6354 GB, free: 4.941 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00284/0.6553, allocations: 2.861 MB / 0.6382 GB, free: 2.086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001176/0.6565, allocations: 0.7422 MB / 0.6389 GB, free: 1.352 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00178/0.6583, allocations: 0.9801 MB / 0.6399 GB, free: 372 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.6585, allocations: 320.8 kB / 0.6402 GB, free: 52 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/0.6615, allocations: 1.556 MB / 0.6417 GB, free: 14.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005893/0.6674, allocations: 4.471 MB / 0.646 GB, free: 8.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009284/0.6766, allocations: 6.671 MB / 0.6526 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001102/0.6768, allocations: 32 kB / 0.6526 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01266/0.6894, allocations: 5.946 MB / 0.6584 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.276e-05/0.6895, allocations: 51.94 kB / 0.6584 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001563/0.6897, allocations: 104 kB / 0.6585 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004236/0.6901, allocations: 184.8 kB / 0.6587 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00395/0.694, allocations: 1.088 MB / 0.6598 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.696, allocations: 1.704 MB / 0.6614 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/0.6995, allocations: 208 kB / 0.6616 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/0.7005, allocations: 302.2 kB / 0.6619 GB, free: 7.133 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (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 (605): * Single equations (assignments): 598 * 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.005192/0.7057, allocations: 2.035 MB / 0.6639 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007737/0.7065, allocations: 266.2 kB / 0.6642 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005681/0.7121, allocations: 2.534 MB / 0.6666 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.828e-05/0.7122, allocations: 20 kB / 0.6667 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.7122, allocations: 8 kB / 0.6667 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.919e-05/0.7122, allocations: 7.969 kB / 0.6667 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/0.7325, allocations: 8.117 MB / 0.6746 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/0.7325, allocations: 12 kB / 0.6746 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.7337, allocations: 247.6 kB / 0.6749 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/0.7339, allocations: 56.83 kB / 0.6749 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002584/0.7342, allocations: 44.55 kB / 0.675 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.7359, allocations: 1.528 MB / 0.6764 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.816e-05/0.736, allocations: 19.88 kB / 0.6765 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007596/0.7436, allocations: 4.065 MB / 0.6804 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001888/0.7454, allocations: 450.1 kB / 0.6809 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007663/0.7462, allocations: 42.72 kB / 0.6809 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.7476, allocations: 55.95 kB / 0.681 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/0.748, allocations: 132.5 kB / 0.6811 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.7482, allocations: 63.05 kB / 0.6811 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003823/0.752, allocations: 1.648 MB / 0.6828 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.752, allocations: 0 / 0.6828 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005503/0.7575, allocations: 0.8124 MB / 0.6835 GB, free: 0.5391 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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.007835/0.7653, allocations: 4.747 MB / 0.6882 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00835/0.7737, allocations: 3.76 MB / 0.6919 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.716e-05/0.7737, allocations: 0 / 0.6919 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002413/0.7761, allocations: 1.184 MB / 0.693 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/0.7794, allocations: 335.2 kB / 0.6933 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06532/0.8447, allocations: 34.25 MB / 0.7268 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006604/0.8513, allocations: 3.198 MB / 0.7299 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004598/0.8559, allocations: 1.743 MB / 0.7316 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0037/0.8596, allocations: 1.753 MB / 0.7333 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of SimCode: time 1.483e-06/0.8596, allocations: 0 / 0.7333 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3735/1.233, allocations: 50.67 MB / 0.7828 GB, free: 215.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.19/20.42, allocations: 8.688 kB / 0.7828 GB, free: 215.5 MB / 0.6075 GB " [Timeout remaining time 639] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 23.547298998993938]