Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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.0008709/0.0008709, 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.0008745/0.0008745, 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.8697/0.8697, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2307/0.2307, allocations: 32.78 MB / 293.5 MB, free: 1.223 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.Planar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.468e-05, allocations: 6.281 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.1745/0.1745, allocations: 13.01 MB / 452.6 MB, free: 39.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006305/0.1808, allocations: 4.235 MB / 456.8 MB, free: 36.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.182, allocations: 91.41 kB / 456.9 MB, free: 36.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.1841, allocations: 2.288 MB / 459.2 MB, free: 35.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.1862, allocations: 2.118 MB / 461.3 MB, free: 34.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007598/0.187, allocations: 0.6595 MB / 462 MB, free: 34.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002175/0.1892, allocations: 4.707 MB / 466.7 MB, free: 32.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.1907, allocations: 2.923 MB / 469.6 MB, free: 31.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.1921, allocations: 2.439 MB / 472.1 MB, free: 30.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.1937, allocations: 2.395 MB / 474.5 MB, free: 29.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.194, allocations: 345 kB / 474.8 MB, free: 29.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009446/0.195, allocations: 1.007 MB / 475.8 MB, free: 29.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008565/0.1958, allocations: 2.085 MB / 477.9 MB, free: 28.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000716/0.1965, allocations: 1.31 MB / 479.2 MB, free: 27.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005915/0.2024, allocations: 7.751 MB / 486.9 MB, free: 25.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.2024, allocations: 4.703 kB / 487 MB, free: 25.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.2024, allocations: 0.9688 kB / 487 MB, free: 25.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001174/0.2026, allocations: 0 / 487 MB, free: 25.27 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.007692/0.2103, allocations: 5.138 MB / 492.1 MB, free: 22.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.2103, allocations: 13.41 kB / 492.1 MB, free: 22.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009392/0.2113, allocations: 0.8558 MB / 493 MB, free: 21.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006717/0.218, allocations: 3.275 MB / 496.2 MB, free: 21.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003624/0.2216, allocations: 2.388 MB / 498.6 MB, free: 19.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.2218, allocations: 257 kB / 498.9 MB, free: 19.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005282/0.2223, allocations: 328.6 kB / 499.2 MB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.2345, allocations: 12.26 MB / 0.4995 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.273e-05/0.2346, allocations: 31.7 kB / 0.4995 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/0.2349, allocations: 155.8 kB / 0.4996 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002394/0.2373, allocations: 2.848 MB / 0.5024 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.25, allocations: 11.1 MB / 0.5133 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03751/0.2875, allocations: 38.67 MB / 0.551 GB, free: 6.504 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005136/0.2926, allocations: 3.726 MB / 0.5547 GB, free: 2.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.2945, allocations: 2.25 MB / 0.5569 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004981/0.295, allocations: 441.2 kB / 0.5573 GB, free: 92 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.2951, allocations: 56.56 kB / 0.5573 GB, free: 28 kB / 458.7 MB Notification: Performance of pre-optimization done (n=249): time 4.388e-06/0.2951, allocations: 4 kB / 0.5573 GB, free: 24 kB / 458.7 MB Notification: Performance of matching and sorting (n=267): time 0.02712/0.3222, allocations: 19.09 MB / 0.576 GB, free: 12.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3222, allocations: 73.41 kB / 0.5761 GB, free: 12.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.3255, allocations: 3.53 MB / 0.5795 GB, free: 9.234 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.3256, allocations: 61.7 kB / 0.5796 GB, free: 9.168 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.327, allocations: 3.221 MB / 0.5827 GB, free: 5.918 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005536/0.3276, allocations: 0.9997 MB / 0.5837 GB, free: 4.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.3287, allocations: 1.172 MB / 0.5848 GB, free: 3.727 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.3287, allocations: 305.1 kB / 0.5851 GB, free: 3.426 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/0.3309, allocations: 2.452 MB / 0.5875 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003722/0.3347, allocations: 5.723 MB / 0.5931 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00715/0.3418, allocations: 8.969 MB / 0.6019 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.704e-05/0.3419, allocations: 32 kB / 0.6019 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.0096/0.3515, allocations: 8.988 MB / 0.6107 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.176e-05/0.3515, allocations: 57.72 kB / 0.6107 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.054e-05/0.3516, allocations: 112.8 kB / 0.6108 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/0.3533, allocations: 1.058 MB / 0.6119 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/0.3555, allocations: 1.341 MB / 0.6132 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004938/0.3604, allocations: 5.4 MB / 0.6184 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/0.3626, allocations: 347.8 kB / 0.6188 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/0.3629, allocations: 344 kB / 0.6191 GB, free: 13.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (725): * Single equations (assignments): 718 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003483/0.3664, allocations: 2.419 MB / 0.6215 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.3667, allocations: 325.8 kB / 0.6218 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00544/0.3722, allocations: 5.356 MB / 0.627 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-05/0.3722, allocations: 47.98 kB / 0.6271 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3722, allocations: 4 kB / 0.6271 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.3722, allocations: 11.95 kB / 0.6271 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1804/0.5527, allocations: 12.59 MB / 0.6394 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.5527, allocations: 9.281 kB / 0.6394 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/0.5536, allocations: 424.4 kB / 0.6398 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.5548, allocations: 0.886 MB / 0.6406 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.8e-05/0.5549, allocations: 53.86 kB / 0.6407 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/0.558, allocations: 4.708 MB / 0.6453 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.558, allocations: 21.19 kB / 0.6453 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005882/0.5639, allocations: 8.001 MB / 0.6531 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/0.5644, allocations: 329.1 kB / 0.6534 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.5646, allocations: 50.31 kB / 0.6535 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000739/0.5654, allocations: 186.9 kB / 0.6537 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.5656, allocations: 173.9 kB / 0.6538 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.5657, allocations: 81.2 kB / 0.6539 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001656/0.5673, allocations: 2.082 MB / 0.6559 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5673, allocations: 0 / 0.6559 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002642/0.57, allocations: 1.141 MB / 0.6571 GB, free: 144.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (208): * Single equations (assignments): 201 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007118/0.5771, allocations: 8.682 MB / 0.6655 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00561/0.5827, allocations: 5.775 MB / 0.6712 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5827, allocations: 1.375 kB / 0.6712 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.5844, allocations: 2.1 MB / 0.6732 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.5858, allocations: 448.8 kB / 0.6737 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03746/0.6233, allocations: 47.43 MB / 0.72 GB, free: 98.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002272/0.6256, allocations: 3.177 MB / 0.7231 GB, free: 95.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002542/0.6281, allocations: 2.168 MB / 0.7252 GB, free: 92.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/0.6296, allocations: 2.105 MB / 0.7273 GB, free: 90.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.543e-06/0.6296, allocations: 0 / 0.7273 GB, free: 90.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06484/0.6944, allocations: 68.53 MB / 0.7942 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.177/9.871, allocations: 0 / 0.7942 GB, free: 22.92 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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.07639785297215]