Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00103/0.00103, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000957/0.000957, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9033/0.9033, allocations: 177.2 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.264/0.264, allocations: 34.25 MB / 294.9 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.327e-05, allocations: 2.281 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1816/0.1817, allocations: 10.72 MB / 452.9 MB, free: 38.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005943/0.1876, allocations: 3.688 MB / 456.6 MB, free: 36.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.1889, allocations: 71.09 kB / 456.7 MB, free: 36.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.1904, allocations: 1.337 MB / 458 MB, free: 35.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.1928, allocations: 1.839 MB / 459.8 MB, free: 34.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.1933, allocations: 456.6 kB / 460.3 MB, free: 34.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002368/0.1957, allocations: 3.974 MB / 464.3 MB, free: 33.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.1971, allocations: 2.087 MB / 466.3 MB, free: 32.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.1986, allocations: 1.842 MB / 468.2 MB, free: 31.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.2, allocations: 1.967 MB / 470.2 MB, free: 30.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002204/0.2002, allocations: 241.9 kB / 470.4 MB, free: 30.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009189/0.2011, allocations: 0.7759 MB / 471.2 MB, free: 30.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007609/0.2019, allocations: 1.667 MB / 472.8 MB, free: 30.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006988/0.2026, allocations: 1 MB / 473.8 MB, free: 29.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003956/0.2065, allocations: 6.049 MB / 479.9 MB, free: 27.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2065, allocations: 4 kB / 479.9 MB, free: 27.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2066, allocations: 0 / 479.9 MB, free: 27.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001571/0.2067, allocations: 7 kB / 479.9 MB, free: 27.46 MB / 410.7 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.006162/0.2129, allocations: 4.071 MB / 484 MB, free: 25.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2129, allocations: 13.72 kB / 484 MB, free: 25.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007667/0.2137, allocations: 0.6975 MB / 484.7 MB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007466/0.2212, allocations: 3.153 MB / 487.8 MB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004724/0.2259, allocations: 1.929 MB / 489.8 MB, free: 23.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.226, allocations: 189.3 kB / 489.9 MB, free: 23.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006433/0.2267, allocations: 249.7 kB / 490.2 MB, free: 23.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/0.239, allocations: 10.19 MB / 0.4886 GB, free: 18.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.358e-05/0.2391, allocations: 21.88 kB / 0.4887 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.2393, allocations: 115.4 kB / 0.4888 GB, free: 18.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002243/0.2415, allocations: 2.465 MB / 0.4912 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/0.2531, allocations: 9.349 MB / 0.5003 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/0.2847, allocations: 30.12 MB / 0.5297 GB, free: 11.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004065/0.2888, allocations: 2.412 MB / 0.5321 GB, free: 8.891 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.2898, allocations: 0.9919 MB / 0.5331 GB, free: 7.898 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004988/0.2903, allocations: 443.4 kB / 0.5335 GB, free: 7.473 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.2904, allocations: 51.81 kB / 0.5335 GB, free: 7.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 3.717e-06/0.2904, allocations: 0 / 0.5335 GB, free: 7.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=191): time 0.01229/0.3027, allocations: 9.228 MB / 0.5425 GB, free: 14.15 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.3027, allocations: 72.72 kB / 0.5426 GB, free: 14.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.3052, allocations: 2.934 MB / 0.5455 GB, free: 11.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.494e-05/0.3053, allocations: 49.7 kB / 0.5455 GB, free: 11.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.3064, allocations: 2.76 MB / 0.5482 GB, free: 8.266 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/0.3068, allocations: 0.7324 MB / 0.5489 GB, free: 7.527 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007308/0.3076, allocations: 0.9497 MB / 0.5499 GB, free: 6.566 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.3076, allocations: 309.1 kB / 0.5502 GB, free: 6.262 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.309, allocations: 1.54 MB / 0.5517 GB, free: 4.715 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/0.3116, allocations: 4.371 MB / 0.5559 GB, free: 14.94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004597/0.3162, allocations: 6.552 MB / 0.5623 GB, free: 6.992 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-05/0.3162, allocations: 32 kB / 0.5624 GB, free: 6.961 MB / 474.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.005753/0.322, allocations: 5.837 MB / 0.5681 GB, free: 1.113 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.322, allocations: 48 kB / 0.5681 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.254e-05/0.3221, allocations: 104.1 kB / 0.5682 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/0.3223, allocations: 176.8 kB / 0.5684 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.324, allocations: 1.064 MB / 0.5694 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.3252, allocations: 1.694 MB / 0.5711 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.327, allocations: 231.9 kB / 0.5713 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/0.3273, allocations: 296 kB / 0.5716 GB, free: 13.41 MB / 490.7 MB 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.002542/0.3298, allocations: 1.997 MB / 0.5735 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/0.3301, allocations: 254.3 kB / 0.5738 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.3326, allocations: 2.522 MB / 0.5762 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.3326, allocations: 31.94 kB / 0.5762 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3326, allocations: 0 / 0.5762 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3326, allocations: 3.984 kB / 0.5763 GB, free: 8.559 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008149/0.3408, allocations: 7.783 MB / 0.5839 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.3408, allocations: 15.92 kB / 0.5839 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.3413, allocations: 249.2 kB / 0.5841 GB, free: 336 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.3415, allocations: 64.77 kB / 0.5842 GB, free: 268 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.3415, allocations: 39.98 kB / 0.5842 GB, free: 228 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009374/0.3424, allocations: 1.523 MB / 0.5857 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.3425, allocations: 15.94 kB / 0.5857 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.346, allocations: 4.009 MB / 0.5896 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/0.3465, allocations: 250.2 kB / 0.5899 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.3467, allocations: 40 kB / 0.5899 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005096/0.3472, allocations: 83.83 kB / 0.59 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.3473, allocations: 116.6 kB / 0.5901 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-05/0.3474, allocations: 67.98 kB / 0.5902 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001895/0.3493, allocations: 1.728 MB / 0.5918 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.3493, allocations: 0 / 0.5918 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002612/0.3519, allocations: 0.8397 MB / 0.5927 GB, free: 7.297 MB / 0.4948 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.003764/0.3557, allocations: 4.696 MB / 0.5972 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004258/0.36, allocations: 3.716 MB / 0.6009 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.36, allocations: 0 / 0.6009 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.361, allocations: 1.171 MB / 0.602 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.3625, allocations: 350.8 kB / 0.6024 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03413/0.3966, allocations: 33.76 MB / 0.6353 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002499/0.3991, allocations: 2.584 MB / 0.6379 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002509/0.4016, allocations: 1.717 MB / 0.6395 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/0.4031, allocations: 1.703 MB / 0.6412 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of SimCode: time 1.953e-06/0.4031, allocations: 0 / 0.6412 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2352/0.6382, allocations: 46.54 MB / 0.6866 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.477/9.115, allocations: 5.328 kB / 0.6866 GB, free: 158.9 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 11.282734206877649]