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.0008147/0.0008147, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008039/0.0008039, allocations: 170 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.87/0.87, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.2357/0.2357, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.482e-06/1.482e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.488e-05, allocations: 5.234 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1706/0.1706, allocations: 10.72 MB / 452.9 MB, free: 38.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004013/0.1746, allocations: 3.684 MB / 456.6 MB, free: 36.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.1753, allocations: 69.5 kB / 456.7 MB, free: 36.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.1765, allocations: 1.341 MB / 458 MB, free: 35.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.1781, allocations: 1.827 MB / 459.8 MB, free: 34.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.1786, allocations: 462.6 kB / 460.3 MB, free: 34.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00176/0.1803, allocations: 3.975 MB / 464.3 MB, free: 33.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.1815, allocations: 2.083 MB / 466.3 MB, free: 32.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.1826, allocations: 1.848 MB / 468.2 MB, free: 31.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.1837, allocations: 1.956 MB / 470.1 MB, free: 30.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.1839, allocations: 242.7 kB / 470.4 MB, free: 30.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007207/0.1847, allocations: 0.7766 MB / 471.2 MB, free: 30.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006247/0.1853, allocations: 1.679 MB / 472.8 MB, free: 30.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005331/0.1858, allocations: 1.001 MB / 473.8 MB, free: 29.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.1887, allocations: 6.05 MB / 479.9 MB, free: 27.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1888, allocations: 0 / 479.9 MB, free: 27.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1888, allocations: 0 / 479.9 MB, free: 27.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.743e-05/0.1888, allocations: 0 / 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.003929/0.1927, allocations: 4.071 MB / 484 MB, free: 25.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1928, allocations: 10.22 kB / 484 MB, free: 25.06 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005825/0.1934, allocations: 0.7058 MB / 484.7 MB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00614/0.1995, allocations: 3.149 MB / 487.8 MB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.2021, allocations: 1.926 MB / 489.7 MB, free: 23.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.2022, allocations: 193.9 kB / 489.9 MB, free: 23.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003734/0.2026, allocations: 244.9 kB / 490.2 MB, free: 23.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009886/0.2125, allocations: 10.19 MB / 0.4886 GB, free: 18.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.244e-05/0.2125, allocations: 22.83 kB / 0.4887 GB, free: 18.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002516/0.2128, allocations: 123.3 kB / 0.4888 GB, free: 18.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002147/0.2149, allocations: 2.465 MB / 0.4912 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008078/0.223, allocations: 9.337 MB / 0.5003 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02062/0.2436, allocations: 30.13 MB / 0.5297 GB, free: 11.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.2465, allocations: 2.418 MB / 0.5321 GB, free: 8.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008426/0.2474, allocations: 0.9963 MB / 0.5331 GB, free: 7.914 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004565/0.2478, allocations: 439.4 kB / 0.5335 GB, free: 7.492 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.2479, allocations: 47.88 kB / 0.5335 GB, free: 7.434 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 3.236e-06/0.2479, allocations: 0 / 0.5335 GB, free: 7.434 MB / 442.7 MB Notification: Performance of matching and sorting (n=191): time 0.01195/0.2598, allocations: 9.24 MB / 0.5425 GB, free: 14.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.2599, allocations: 68.7 kB / 0.5426 GB, free: 14.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.2621, allocations: 2.934 MB / 0.5455 GB, free: 11.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/0.2622, allocations: 49.7 kB / 0.5455 GB, free: 11.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.2635, allocations: 2.76 MB / 0.5482 GB, free: 8.281 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.2638, allocations: 0.7247 MB / 0.5489 GB, free: 7.551 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007344/0.2645, allocations: 0.9497 MB / 0.5499 GB, free: 6.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.2646, allocations: 305.1 kB / 0.5501 GB, free: 6.289 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.2659, allocations: 1.544 MB / 0.5517 GB, free: 4.738 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002701/0.2686, allocations: 4.371 MB / 0.5559 GB, free: 14.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004475/0.2731, allocations: 6.556 MB / 0.5623 GB, free: 7.012 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-05/0.2731, allocations: 28 kB / 0.5624 GB, free: 6.984 MB / 474.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.005206/0.2784, allocations: 5.849 MB / 0.5681 GB, free: 1.125 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.2784, allocations: 48 kB / 0.5681 GB, free: 1.078 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.425e-05/0.2784, allocations: 100 kB / 0.5682 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.2786, allocations: 176.8 kB / 0.5684 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.2802, allocations: 1.064 MB / 0.5694 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009686/0.2812, allocations: 1.686 MB / 0.5711 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.2825, allocations: 235.9 kB / 0.5713 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/0.2827, allocations: 292 kB / 0.5716 GB, free: 13.43 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.001899/0.2846, allocations: 1.99 MB / 0.5735 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/0.285, allocations: 258.3 kB / 0.5738 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.2872, allocations: 2.53 MB / 0.5762 GB, free: 8.613 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.2873, allocations: 27.94 kB / 0.5762 GB, free: 8.586 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2873, allocations: 0 / 0.5762 GB, free: 8.586 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.2873, allocations: 7.969 kB / 0.5763 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007088/0.2944, allocations: 7.778 MB / 0.5839 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.2944, allocations: 12.91 kB / 0.5839 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.2949, allocations: 252.8 kB / 0.5841 GB, free: 360 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.728e-05/0.295, allocations: 60.83 kB / 0.5842 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/0.295, allocations: 36 kB / 0.5842 GB, free: 260 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007852/0.2958, allocations: 1.516 MB / 0.5857 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.2958, allocations: 19.88 kB / 0.5857 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.2991, allocations: 4.017 MB / 0.5896 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.2993, allocations: 262.2 kB / 0.5899 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.2995, allocations: 32 kB / 0.5899 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.2999, allocations: 75.91 kB / 0.59 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.3, allocations: 128.6 kB / 0.5901 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.54e-05/0.3001, allocations: 63.97 kB / 0.5902 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001385/0.3015, allocations: 1.728 MB / 0.5918 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.3015, allocations: 0 / 0.5918 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001891/0.3034, allocations: 0.8358 MB / 0.5927 GB, free: 7.32 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.00357/0.3069, allocations: 4.695 MB / 0.5972 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003044/0.31, allocations: 3.724 MB / 0.6009 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.31, allocations: 4 kB / 0.6009 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.3111, allocations: 1.159 MB / 0.602 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009613/0.3121, allocations: 346.2 kB / 0.6023 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0283/0.3404, allocations: 33.77 MB / 0.6353 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002002/0.3424, allocations: 2.592 MB / 0.6379 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002087/0.3445, allocations: 1.717 MB / 0.6395 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/0.346, allocations: 1.703 MB / 0.6412 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of SimCode: time 1.563e-06/0.346, allocations: 0 / 0.6412 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1959/0.5419, allocations: 46.53 MB / 0.6866 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.037/9.579, allocations: 1.375 kB / 0.6866 GB, free: 158.9 MB / 0.5417 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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.627661527134478]