Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 76.36 kB / 20.67 MB, free: 3.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 156.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.864/0.864, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2382/0.2382, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.36e-05, allocations: 2.281 kB / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2011/0.2012, allocations: 13.03 MB / 455.2 MB, free: 36.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006986/0.2081, allocations: 4.225 MB / 459.4 MB, free: 34.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/0.2102, allocations: 90.78 kB / 459.5 MB, free: 34.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.2129, allocations: 2.29 MB / 461.8 MB, free: 33.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003808/0.2167, allocations: 2.122 MB / 463.9 MB, free: 32.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.218, allocations: 0.6575 MB / 464.6 MB, free: 31.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004123/0.2221, allocations: 4.695 MB / 469.3 MB, free: 30.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002722/0.2248, allocations: 2.93 MB / 472.2 MB, free: 28.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/0.228, allocations: 2.437 MB / 474.6 MB, free: 27.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002665/0.2307, allocations: 2.397 MB / 477 MB, free: 27.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000668/0.2313, allocations: 346.4 kB / 477.4 MB, free: 27.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.2329, allocations: 1.01 MB / 478.4 MB, free: 26.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.2341, allocations: 2.084 MB / 480.5 MB, free: 26.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.2359, allocations: 1.312 MB / 481.8 MB, free: 25.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00918/0.2451, allocations: 7.749 MB / 489.5 MB, free: 22.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2451, allocations: 0.5156 kB / 489.5 MB, free: 22.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.2451, allocations: 1.5 kB / 489.5 MB, free: 22.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003183/0.2455, allocations: 0 / 489.5 MB, free: 22.67 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.01281/0.2583, allocations: 5.141 MB / 494.7 MB, free: 19.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.2583, allocations: 10.5 kB / 494.7 MB, free: 19.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002093/0.2604, allocations: 0.8537 MB / 495.5 MB, free: 19.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007126/0.2675, allocations: 3.274 MB / 498.8 MB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005285/0.2728, allocations: 2.398 MB / 0.4895 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.273, allocations: 248.3 kB / 0.4897 GB, free: 16.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/0.2744, allocations: 328.4 kB / 0.49 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/0.291, allocations: 12.25 MB / 0.502 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.024e-05/0.2911, allocations: 31.7 kB / 0.502 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003947/0.2915, allocations: 155.8 kB / 0.5021 GB, free: 8.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0025/0.294, allocations: 2.851 MB / 0.5049 GB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/0.3117, allocations: 11.1 MB / 0.5158 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04936/0.3611, allocations: 38.67 MB / 0.5535 GB, free: 2.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007296/0.3684, allocations: 3.733 MB / 0.5572 GB, free: 14.78 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003017/0.3714, allocations: 2.252 MB / 0.5594 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007767/0.3722, allocations: 445.2 kB / 0.5598 GB, free: 12.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.3722, allocations: 52.56 kB / 0.5598 GB, free: 12.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 9.619e-06/0.3723, allocations: 0 / 0.5598 GB, free: 12.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.03388/0.4061, allocations: 19.08 MB / 0.5785 GB, free: 8.879 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.4062, allocations: 77.41 kB / 0.5786 GB, free: 8.793 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004103/0.4103, allocations: 3.526 MB / 0.582 GB, free: 5.254 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005579/0.4108, allocations: 61.7 kB / 0.5821 GB, free: 5.188 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001909/0.4128, allocations: 3.221 MB / 0.5852 GB, free: 1.938 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001371/0.4141, allocations: 0.9958 MB / 0.5862 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001743/0.4159, allocations: 1.18 MB / 0.5873 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.416, allocations: 301.1 kB / 0.5876 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003112/0.4191, allocations: 2.463 MB / 0.59 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005766/0.4248, allocations: 5.717 MB / 0.5956 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/0.4355, allocations: 8.973 MB / 0.6044 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/0.4356, allocations: 36 kB / 0.6044 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01371/0.4493, allocations: 8.979 MB / 0.6132 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.046e-05/0.4494, allocations: 53 kB / 0.6132 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/0.4495, allocations: 116 kB / 0.6133 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/0.4514, allocations: 1.05 MB / 0.6144 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/0.4547, allocations: 1.347 MB / 0.6157 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/0.4604, allocations: 5.395 MB / 0.6209 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003746/0.4642, allocations: 355.7 kB / 0.6213 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009179/0.4651, allocations: 344 kB / 0.6216 GB, free: 9.301 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.004872/0.47, allocations: 2.409 MB / 0.624 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000583/0.4706, allocations: 329.8 kB / 0.6243 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006625/0.4772, allocations: 5.36 MB / 0.6295 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-05/0.4772, allocations: 44 kB / 0.6296 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.4772, allocations: 4 kB / 0.6296 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/0.4773, allocations: 16.95 kB / 0.6296 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2093/0.6866, allocations: 12.58 MB / 0.6419 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.6866, allocations: 10.06 kB / 0.6419 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009773/0.6876, allocations: 424.8 kB / 0.6423 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.689, allocations: 0.8869 MB / 0.6431 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/0.6891, allocations: 60.58 kB / 0.6432 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/0.6927, allocations: 4.708 MB / 0.6478 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.6928, allocations: 22.41 kB / 0.6478 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007334/0.7001, allocations: 7.996 MB / 0.6556 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009099/0.701, allocations: 332.2 kB / 0.6559 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/0.7014, allocations: 52.31 kB / 0.656 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/0.7023, allocations: 173.8 kB / 0.6562 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/0.7026, allocations: 176.9 kB / 0.6563 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.7027, allocations: 86.48 kB / 0.6564 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002695/0.7054, allocations: 2.079 MB / 0.6584 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7054, allocations: 2.938 kB / 0.6584 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004161/0.7096, allocations: 1.136 MB / 0.6596 GB, free: 141.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.008827/0.7184, allocations: 8.688 MB / 0.668 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007368/0.7258, allocations: 5.773 MB / 0.6737 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/0.7258, allocations: 2.75 kB / 0.6737 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002217/0.728, allocations: 2.104 MB / 0.6757 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.7301, allocations: 455.7 kB / 0.6762 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05334/0.7834, allocations: 47.43 MB / 0.7225 GB, free: 92.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003657/0.7871, allocations: 3.179 MB / 0.7256 GB, free: 89.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003124/0.7902, allocations: 2.157 MB / 0.7277 GB, free: 86.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002863/0.7931, allocations: 2.113 MB / 0.7298 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of SimCode: time 2.274e-06/0.7931, allocations: 0 / 0.7298 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08032/0.8734, allocations: 68.5 MB / 0.7966 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.414/10.29, allocations: 7.453 kB / 0.7967 GB, free: 16.88 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Planar_res.csv. Warning: Get data of variable planar.w from file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.424911121837795]