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.0009178/0.0009178, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001411/0.001411, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8824/0.8824, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1277/0.1277, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 406.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.316e-05, allocations: 13.88 kB / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.008247/0.00827, allocations: 11.05 MB / 417.9 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006194/0.01446, allocations: 3.734 MB / 421.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00095/0.01541, allocations: 67.75 kB / 421.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.0169, allocations: 1.358 MB / 423.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.01905, allocations: 1.905 MB / 425 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.01964, allocations: 463 kB / 425.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.02217, allocations: 3.995 MB / 429.4 MB, free: 6.852 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.02352, allocations: 2.14 MB / 431.6 MB, free: 4.676 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.02483, allocations: 1.906 MB / 433.5 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.02626, allocations: 1.999 MB / 435.5 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.02649, allocations: 248 kB / 435.7 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1546/0.1811, allocations: 0.7862 MB / 436.5 MB, free: 20.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001553/0.1827, allocations: 1.739 MB / 438.2 MB, free: 20.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.1838, allocations: 1.051 MB / 439.3 MB, free: 20.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004856/0.1887, allocations: 6.251 MB / 445.5 MB, free: 19.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1887, allocations: 1.125 kB / 445.5 MB, free: 19.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1887, allocations: 0 / 445.5 MB, free: 19.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.877e-05/0.1888, allocations: 0 / 445.5 MB, free: 19.61 MB / 362.7 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.004548/0.1933, allocations: 4.21 MB / 449.7 MB, free: 17.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1933, allocations: 14.98 kB / 449.8 MB, free: 17.78 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005626/0.1939, allocations: 0.722 MB / 450.5 MB, free: 17.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005601/0.1995, allocations: 3.187 MB / 453.7 MB, free: 17.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.2021, allocations: 2.093 MB / 455.8 MB, free: 16.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.2022, allocations: 195 kB / 456 MB, free: 16.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003847/0.2026, allocations: 253.8 kB / 456.2 MB, free: 16.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008226/0.2108, allocations: 10.39 MB / 466.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-05/0.2109, allocations: 33.14 kB / 466.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002798/0.2112, allocations: 121.6 kB / 466.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002126/0.2133, allocations: 2.542 MB / 469.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009663/0.223, allocations: 9.437 MB / 478.7 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/0.2489, allocations: 30.9 MB / 0.4977 GB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.2522, allocations: 2.456 MB / 0.5001 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009196/0.2531, allocations: 0.9953 MB / 0.5011 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/0.2536, allocations: 436.9 kB / 0.5015 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.2536, allocations: 55.86 kB / 0.5015 GB, free: 13.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=187): time 4.248e-06/0.2536, allocations: 0 / 0.5015 GB, free: 13.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=193): time 0.01308/0.2667, allocations: 10.04 MB / 0.5113 GB, free: 3.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.2667, allocations: 94.42 kB / 0.5114 GB, free: 3.383 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/0.2698, allocations: 3.035 MB / 0.5144 GB, free: 336 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.944e-05/0.2699, allocations: 45.7 kB / 0.5144 GB, free: 284 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.2712, allocations: 2.846 MB / 0.5172 GB, free: 13.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004524/0.2717, allocations: 0.7285 MB / 0.5179 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009601/0.2726, allocations: 0.973 MB / 0.5189 GB, free: 11.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.2728, allocations: 305.1 kB / 0.5192 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.2744, allocations: 1.556 MB / 0.5207 GB, free: 9.891 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003075/0.2775, allocations: 4.475 MB / 0.525 GB, free: 4.023 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004952/0.2824, allocations: 6.688 MB / 0.5316 GB, free: 12.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-05/0.2825, allocations: 32 kB / 0.5316 GB, free: 12.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.005622/0.2881, allocations: 5.937 MB / 0.5374 GB, free: 6.172 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.2883, allocations: 50.34 kB / 0.5375 GB, free: 6.125 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.968e-05/0.2884, allocations: 108 kB / 0.5376 GB, free: 6.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.2886, allocations: 176.9 kB / 0.5377 GB, free: 5.844 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.2903, allocations: 1.099 MB / 0.5388 GB, free: 4.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.2914, allocations: 1.68 MB / 0.5404 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.2931, allocations: 250.3 kB / 0.5407 GB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/0.2934, allocations: 300 kB / 0.541 GB, free: 2.418 MB / 442.7 MB 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.002576/0.296, allocations: 2.034 MB / 0.543 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.2962, allocations: 266.2 kB / 0.5432 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.2986, allocations: 2.535 MB / 0.5457 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.2986, allocations: 28 kB / 0.5457 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2986, allocations: 3.938 kB / 0.5457 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2986, allocations: 7.969 kB / 0.5457 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008179/0.3068, allocations: 7.999 MB / 0.5535 GB, free: 5.355 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.3068, allocations: 8 kB / 0.5535 GB, free: 5.348 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.3074, allocations: 252.8 kB / 0.5538 GB, free: 5.102 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.3075, allocations: 52.83 kB / 0.5538 GB, free: 5.047 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.997e-05/0.3075, allocations: 43.98 kB / 0.5539 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009084/0.3084, allocations: 1.521 MB / 0.5554 GB, free: 3.371 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.3084, allocations: 15.94 kB / 0.5554 GB, free: 3.355 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/0.312, allocations: 4.061 MB / 0.5593 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006554/0.3127, allocations: 474 kB / 0.5598 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.3128, allocations: 35.98 kB / 0.5598 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.3133, allocations: 87.84 kB / 0.5599 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.3135, allocations: 127.1 kB / 0.56 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/0.3136, allocations: 67.98 kB / 0.5601 GB, free: 14.37 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001699/0.3153, allocations: 1.785 MB / 0.5618 GB, free: 12.58 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3153, allocations: 0 / 0.5618 GB, free: 12.58 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002615/0.3179, allocations: 0.889 MB / 0.5627 GB, free: 11.69 MB / 474.7 MB 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.003792/0.3217, allocations: 4.741 MB / 0.5673 GB, free: 6.793 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003635/0.3253, allocations: 3.759 MB / 0.571 GB, free: 3.039 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.3253, allocations: 5.875 kB / 0.571 GB, free: 3.035 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009765/0.3263, allocations: 1.168 MB / 0.5722 GB, free: 1.859 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3275, allocations: 349.7 kB / 0.5725 GB, free: 1.523 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/0.3598, allocations: 34.68 MB / 0.6064 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/0.3621, allocations: 2.659 MB / 0.6089 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002199/0.3643, allocations: 1.745 MB / 0.6107 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/0.3659, allocations: 1.762 MB / 0.6124 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of SimCode: time 2.044e-06/0.3659, allocations: 0 / 0.6124 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2133/0.5792, allocations: 47.42 MB / 0.6587 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.666/10.25, allocations: 3.906 kB / 0.6587 GB, free: 154.8 MB / 0.5105 GB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/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: 12.320753579959273]