Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001232/0.001232, allocations: 79.69 kB / 20.02 MB, free: 4.5 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.00157/0.00157, allocations: 173.9 kB / 23.32 MB, free: 1.199 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.8695/0.8695, allocations: 158.6 MB / 185.1 MB, free: 3.027 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.1268/0.1268, allocations: 32.37 MB / 269.7 MB, free: 14.92 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.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 407.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.512e-05, allocations: 6.078 kB / 407.1 MB, free: 2.125 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01372/0.01374, allocations: 13.7 MB / 420.8 MB, free: 4.363 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00877/0.02251, allocations: 4.315 MB / 425.1 MB, free: 36 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.02428, allocations: 95.73 kB / 425.2 MB, free: 15.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.02676, allocations: 2.319 MB / 427.5 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003096/0.02986, allocations: 2.213 MB / 429.7 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.03132, allocations: 0.6782 MB / 430.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003933/0.03525, allocations: 4.808 MB / 435.2 MB, free: 5.891 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/0.03837, allocations: 3.023 MB / 438.2 MB, free: 2.812 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.04096, allocations: 2.549 MB / 440.8 MB, free: 264 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.04293, allocations: 2.459 MB / 443.2 MB, free: 13.79 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003491/0.04328, allocations: 356 kB / 443.6 MB, free: 13.45 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.04472, allocations: 1.018 MB / 444.6 MB, free: 12.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.04582, allocations: 2.205 MB / 446.8 MB, free: 10.21 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009415/0.04677, allocations: 1.378 MB / 448.2 MB, free: 8.832 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004995/0.05176, allocations: 8.055 MB / 456.2 MB, free: 0.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.05177, allocations: 0 / 456.2 MB, free: 0.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.05177, allocations: 0 / 456.2 MB, free: 0.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.461e-05/0.05183, allocations: 4 kB / 456.2 MB, free: 0.7461 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.00548/0.05731, allocations: 5.34 MB / 461.6 MB, free: 11.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.05735, allocations: 12.03 kB / 461.6 MB, free: 11.33 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006723/0.05803, allocations: 0.8938 MB / 462.5 MB, free: 10.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005885/0.06391, allocations: 3.336 MB / 465.8 MB, free: 7.078 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/0.06695, allocations: 2.606 MB / 468.4 MB, free: 4.434 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.06707, allocations: 262.9 kB / 468.7 MB, free: 4.176 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004123/0.06748, allocations: 344.1 kB / 469 MB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1848/0.2523, allocations: 12.65 MB / 481.7 MB, free: 90.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.999e-05/0.2524, allocations: 38.72 kB / 481.7 MB, free: 90.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002871/0.2527, allocations: 159.2 kB / 481.8 MB, free: 90.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002553/0.2552, allocations: 2.993 MB / 484.8 MB, free: 89.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.2675, allocations: 11.29 MB / 496.1 MB, free: 86.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03085/0.2983, allocations: 40.34 MB / 0.5239 GB, free: 59.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004484/0.3028, allocations: 3.747 MB / 0.5276 GB, free: 56.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.3043, allocations: 2.258 MB / 0.5298 GB, free: 54.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004237/0.3047, allocations: 442.3 kB / 0.5302 GB, free: 53.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3047, allocations: 55 kB / 0.5302 GB, free: 53.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 3.967e-06/0.3047, allocations: 0 / 0.5302 GB, free: 53.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=268): time 0.02411/0.3288, allocations: 20.07 MB / 0.5498 GB, free: 34.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3289, allocations: 107.1 kB / 0.5499 GB, free: 33.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.3314, allocations: 3.666 MB / 0.5535 GB, free: 30.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-05/0.3315, allocations: 63.73 kB / 0.5536 GB, free: 30.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007209/0.3322, allocations: 3.395 MB / 0.5569 GB, free: 26.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/0.3326, allocations: 1.01 MB / 0.5579 GB, free: 25.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007977/0.3334, allocations: 1.206 MB / 0.5591 GB, free: 24.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.093e-05/0.3335, allocations: 301.1 kB / 0.5594 GB, free: 24.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.3353, allocations: 2.483 MB / 0.5618 GB, free: 21.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002575/0.3379, allocations: 5.884 MB / 0.5675 GB, free: 14.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005219/0.3431, allocations: 9.182 MB / 0.5765 GB, free: 3.469 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.938e-05/0.3431, allocations: 32 kB / 0.5765 GB, free: 3.438 MB / 442.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.008975/0.3521, allocations: 9.162 MB / 0.5855 GB, free: 10.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.3521, allocations: 60.03 kB / 0.5855 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.281e-05/0.3522, allocations: 120 kB / 0.5856 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/0.354, allocations: 1.052 MB / 0.5867 GB, free: 9.039 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002279/0.3563, allocations: 1.388 MB / 0.588 GB, free: 7.648 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004905/0.3612, allocations: 5.408 MB / 0.5933 GB, free: 2.129 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/0.3635, allocations: 363.7 kB / 0.5936 GB, free: 1.773 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003085/0.3638, allocations: 352 kB / 0.594 GB, free: 1.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (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 (747): * Single equations (assignments): 740 * 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.002889/0.3667, allocations: 2.482 MB / 0.5964 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.367, allocations: 341.7 kB / 0.5967 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00597/0.373, allocations: 5.369 MB / 0.602 GB, free: 9.172 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/0.373, allocations: 47.12 kB / 0.602 GB, free: 9.129 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.373, allocations: 4 kB / 0.602 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.373, allocations: 11.95 kB / 0.602 GB, free: 9.113 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.3865, allocations: 12.88 MB / 0.6146 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.3865, allocations: 8 kB / 0.6146 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009651/0.3875, allocations: 431.3 kB / 0.615 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.389, allocations: 0.8903 MB / 0.6159 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.3891, allocations: 55.98 kB / 0.616 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004171/0.3933, allocations: 4.706 MB / 0.6206 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.3933, allocations: 15.94 kB / 0.6206 GB, free: 5.805 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007664/0.4009, allocations: 8.022 MB / 0.6284 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.4021, allocations: 0.7085 MB / 0.6291 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.4023, allocations: 59.89 kB / 0.6292 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008517/0.4032, allocations: 187.7 kB / 0.6293 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.4034, allocations: 173.5 kB / 0.6295 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.4035, allocations: 75.98 kB / 0.6296 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002162/0.4057, allocations: 2.174 MB / 0.6317 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.4057, allocations: 0 / 0.6317 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003474/0.4091, allocations: 1.199 MB / 0.6329 GB, free: 8.996 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (209): * Single equations (assignments): 202 * 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.008138/0.4173, allocations: 8.721 MB / 0.6414 GB, free: 52 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006179/0.4234, allocations: 5.856 MB / 0.6471 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.4235, allocations: 0.8125 kB / 0.6471 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.4253, allocations: 2.101 MB / 0.6492 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.4267, allocations: 453 kB / 0.6496 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2011/0.6278, allocations: 48.87 MB / 0.6973 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002911/0.6307, allocations: 3.302 MB / 0.7005 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00343/0.6341, allocations: 2.195 MB / 0.7027 GB, free: 136.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/0.6357, allocations: 2.21 MB / 0.7048 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.452e-06/0.6357, allocations: 0 / 0.7048 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06623/0.7019, allocations: 69.86 MB / 0.7731 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.84, allocations: 8.828 kB / 0.7731 GB, free: 73.32 MB / 0.5105 GB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_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_Planar.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable planar.w in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.csv. Warning: Get data of variable planar.w from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.017823211848736]