Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008535/0.0008535, allocations: 79.69 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.001618/0.001618, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8714/0.8714, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2289/0.2289, allocations: 32.78 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.537e-05, allocations: 6.281 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1731/0.1731, allocations: 10.72 MB / 450.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005485/0.1786, allocations: 3.683 MB / 454 MB, free: 38.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000825/0.1794, allocations: 70.19 kB / 454.1 MB, free: 38.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.1807, allocations: 1.341 MB / 455.4 MB, free: 38.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.1827, allocations: 1.831 MB / 457.2 MB, free: 37.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.1833, allocations: 469 kB / 457.7 MB, free: 37.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002039/0.1853, allocations: 3.973 MB / 461.7 MB, free: 35.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.1865, allocations: 2.089 MB / 463.8 MB, free: 34.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.1877, allocations: 1.837 MB / 465.6 MB, free: 33.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.1889, allocations: 1.962 MB / 467.6 MB, free: 33.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.1891, allocations: 242.6 kB / 467.8 MB, free: 33.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007483/0.1898, allocations: 0.7782 MB / 468.6 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006467/0.1905, allocations: 1.674 MB / 470.2 MB, free: 32.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005191/0.191, allocations: 1.004 MB / 471.2 MB, free: 32.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002773/0.1938, allocations: 6.052 MB / 477.3 MB, free: 30.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1938, allocations: 0 / 477.3 MB, free: 30.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1938, allocations: 0 / 477.3 MB, free: 30.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.436e-05/0.1938, allocations: 0 / 477.3 MB, free: 30.01 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.003699/0.1975, allocations: 4.075 MB / 481.4 MB, free: 27.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1975, allocations: 9.594 kB / 481.4 MB, free: 27.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006052/0.1982, allocations: 0.7028 MB / 482.1 MB, free: 27.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006164/0.2043, allocations: 3.153 MB / 485.2 MB, free: 26.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.2067, allocations: 1.918 MB / 487.2 MB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.56e-05/0.2068, allocations: 193.6 kB / 487.3 MB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/0.2071, allocations: 252 kB / 487.6 MB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00986/0.217, allocations: 10.19 MB / 497.8 MB, free: 21.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.106e-05/0.217, allocations: 21.97 kB / 497.8 MB, free: 21.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.2173, allocations: 123.8 kB / 497.9 MB, free: 21.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002269/0.2195, allocations: 2.46 MB / 0.4887 GB, free: 20.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008987/0.2285, allocations: 9.343 MB / 0.4978 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02017/0.2487, allocations: 30.12 MB / 0.5272 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002959/0.2517, allocations: 2.417 MB / 0.5296 GB, free: 12.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000884/0.2525, allocations: 0.9963 MB / 0.5305 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004508/0.253, allocations: 443.6 kB / 0.531 GB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.253, allocations: 43.88 kB / 0.531 GB, free: 11.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 3.176e-06/0.253, allocations: 0 / 0.531 GB, free: 11.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=191): time 0.01112/0.2641, allocations: 9.236 MB / 0.54 GB, free: 2.055 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2642, allocations: 68.72 kB / 0.5401 GB, free: 1.977 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.2663, allocations: 2.938 MB / 0.5429 GB, free: 15.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.2664, allocations: 45.7 kB / 0.543 GB, free: 14.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.2676, allocations: 2.756 MB / 0.5457 GB, free: 12.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/0.2679, allocations: 0.7286 MB / 0.5464 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006851/0.2686, allocations: 0.9497 MB / 0.5473 GB, free: 10.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.2687, allocations: 309.1 kB / 0.5476 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.2702, allocations: 1.54 MB / 0.5491 GB, free: 8.633 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/0.2726, allocations: 4.375 MB / 0.5534 GB, free: 2.852 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004397/0.277, allocations: 6.563 MB / 0.5598 GB, free: 10.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-05/0.277, allocations: 28 kB / 0.5598 GB, free: 10.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.005102/0.2822, allocations: 5.845 MB / 0.5655 GB, free: 5.016 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.2822, allocations: 48 kB / 0.5656 GB, free: 4.969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.843e-05/0.2823, allocations: 100 kB / 0.5657 GB, free: 4.871 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.2825, allocations: 176.8 kB / 0.5658 GB, free: 4.695 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.2841, allocations: 1.061 MB / 0.5669 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.2854, allocations: 1.692 MB / 0.5685 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.2868, allocations: 235.8 kB / 0.5688 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/0.287, allocations: 296 kB / 0.569 GB, free: 1.312 MB / 474.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.002032/0.289, allocations: 1.99 MB / 0.571 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.2892, allocations: 254.3 kB / 0.5712 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.2914, allocations: 2.534 MB / 0.5737 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.2914, allocations: 23.94 kB / 0.5737 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2914, allocations: 4 kB / 0.5737 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2914, allocations: 7.969 kB / 0.5737 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007602/0.299, allocations: 7.779 MB / 0.5813 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.299, allocations: 8.938 kB / 0.5813 GB, free: 4.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.2995, allocations: 251.5 kB / 0.5816 GB, free: 4.238 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-05/0.2996, allocations: 56.83 kB / 0.5816 GB, free: 4.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/0.2997, allocations: 40 kB / 0.5817 GB, free: 4.141 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008404/0.3005, allocations: 1.522 MB / 0.5832 GB, free: 2.512 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.3005, allocations: 15.94 kB / 0.5832 GB, free: 2.496 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003292/0.3038, allocations: 4.013 MB / 0.5871 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/0.3042, allocations: 254.2 kB / 0.5873 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.3043, allocations: 36 kB / 0.5874 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.3047, allocations: 75.91 kB / 0.5874 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.3049, allocations: 120.6 kB / 0.5876 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.628e-05/0.305, allocations: 75.91 kB / 0.5876 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002026/0.307, allocations: 1.732 MB / 0.5893 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.307, allocations: 0 / 0.5893 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002311/0.3093, allocations: 0.828 MB / 0.5901 GB, free: 11.21 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.003449/0.3128, allocations: 4.703 MB / 0.5947 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003577/0.3163, allocations: 3.717 MB / 0.5984 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3163, allocations: 0 / 0.5984 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009062/0.3172, allocations: 1.165 MB / 0.5995 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009968/0.3182, allocations: 350 kB / 0.5998 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1762/0.4944, allocations: 33.77 MB / 0.6328 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/0.4963, allocations: 2.585 MB / 0.6353 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001792/0.4981, allocations: 1.716 MB / 0.637 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/0.4991, allocations: 1.702 MB / 0.6387 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.242e-06/0.4991, allocations: 1.406 kB / 0.6387 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06867/0.5678, allocations: 46.54 MB / 0.6841 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.184/9.752, allocations: 6.797 kB / 0.6841 GB, free: 139.9 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.819696553051472]