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.001287/0.001287, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001798/0.001798, allocations: 170.3 kB / 23.21 MB, free: 1.352 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.854/0.854, allocations: 158.6 MB / 185 MB, free: 3.043 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.1377/0.1377, allocations: 32.37 MB / 269.6 MB, free: 14.96 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 1.253e-06/1.253e-06, allocations: 0 / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.648e-05, allocations: 2.281 kB / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.009392/0.009409, allocations: 13.69 MB / 420.6 MB, free: 4.465 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007519/0.01693, allocations: 4.315 MB / 424.9 MB, free: 140 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.0185, allocations: 91.62 kB / 425 MB, free: 48 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.02085, allocations: 2.316 MB / 427.3 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003327/0.02417, allocations: 2.217 MB / 429.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009706/0.02515, allocations: 0.6782 MB / 430.2 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003159/0.0283, allocations: 4.805 MB / 435 MB, free: 5.996 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.03052, allocations: 3.023 MB / 438 MB, free: 2.918 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.03264, allocations: 2.549 MB / 440.5 MB, free: 372 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.03468, allocations: 2.463 MB / 443 MB, free: 13.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.03509, allocations: 352 kB / 443.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.03624, allocations: 1.026 MB / 444.4 MB, free: 12.52 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.03735, allocations: 2.201 MB / 446.6 MB, free: 10.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009582/0.03831, allocations: 1.378 MB / 448 MB, free: 8.934 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004914/0.04323, allocations: 8.051 MB / 456 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.04323, allocations: 4 kB / 456 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.04323, allocations: 0 / 456 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.68e-05/0.04332, allocations: 0 / 456 MB, free: 0.8516 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.005802/0.04912, allocations: 5.348 MB / 461.4 MB, free: 11.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.04916, allocations: 8.031 kB / 461.4 MB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000688/0.04985, allocations: 0.8899 MB / 462.3 MB, free: 10.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00582/0.05567, allocations: 3.336 MB / 465.6 MB, free: 7.184 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.05897, allocations: 2.594 MB / 468.2 MB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.05909, allocations: 262.9 kB / 468.4 MB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004033/0.05949, allocations: 340.1 kB / 468.8 MB, free: 3.961 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.185/0.2445, allocations: 12.65 MB / 481.4 MB, free: 90.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.329e-05/0.2446, allocations: 31.2 kB / 481.5 MB, free: 90.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002906/0.2449, allocations: 164.2 kB / 481.6 MB, free: 90.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002499/0.2474, allocations: 2.997 MB / 484.6 MB, free: 89.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.2587, allocations: 11.29 MB / 495.9 MB, free: 86.31 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0351/0.2938, allocations: 40.24 MB / 0.5236 GB, free: 59.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004425/0.2982, allocations: 3.733 MB / 0.5272 GB, free: 56.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.2998, allocations: 2.256 MB / 0.5294 GB, free: 54.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004555/0.3002, allocations: 442.6 kB / 0.5298 GB, free: 54.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3003, allocations: 60.39 kB / 0.5299 GB, free: 53.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 4.579e-06/0.3003, allocations: 3.531 kB / 0.5299 GB, free: 53.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=268): time 0.02387/0.3241, allocations: 20.07 MB / 0.5495 GB, free: 34.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3242, allocations: 107 kB / 0.5496 GB, free: 34.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/0.3269, allocations: 3.673 MB / 0.5532 GB, free: 30.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.327, allocations: 61.7 kB / 0.5532 GB, free: 30.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008461/0.3279, allocations: 3.39 MB / 0.5566 GB, free: 27.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003998/0.3283, allocations: 1.004 MB / 0.5575 GB, free: 26.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008345/0.3291, allocations: 1.206 MB / 0.5587 GB, free: 24.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.506e-05/0.3291, allocations: 302.1 kB / 0.559 GB, free: 24.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/0.331, allocations: 2.487 MB / 0.5614 GB, free: 22.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002523/0.3335, allocations: 5.88 MB / 0.5672 GB, free: 14.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005245/0.3388, allocations: 9.178 MB / 0.5761 GB, free: 3.723 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-05/0.3388, allocations: 36 kB / 0.5762 GB, free: 3.688 MB / 442.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.008397/0.3472, allocations: 9.165 MB / 0.5851 GB, free: 10.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.751e-05/0.3473, allocations: 56 kB / 0.5852 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.382e-05/0.3473, allocations: 116 kB / 0.5853 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.349, allocations: 1.066 MB / 0.5863 GB, free: 9.281 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/0.3512, allocations: 1.388 MB / 0.5877 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004776/0.356, allocations: 5.403 MB / 0.593 GB, free: 2.379 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.3583, allocations: 367.6 kB / 0.5933 GB, free: 2.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003389/0.3587, allocations: 356 kB / 0.5936 GB, free: 1.672 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.002932/0.3616, allocations: 2.481 MB / 0.5961 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004383/0.362, allocations: 337.7 kB / 0.5964 GB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005632/0.3677, allocations: 5.371 MB / 0.6016 GB, free: 9.418 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-05/0.3677, allocations: 43.98 kB / 0.6017 GB, free: 9.375 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3677, allocations: 7.938 kB / 0.6017 GB, free: 9.367 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.3677, allocations: 7.969 kB / 0.6017 GB, free: 9.359 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.3816, allocations: 12.88 MB / 0.6143 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.3816, allocations: 16 kB / 0.6143 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009489/0.3826, allocations: 427.3 kB / 0.6147 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.3841, allocations: 0.8914 MB / 0.6156 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.3842, allocations: 52 kB / 0.6156 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004277/0.3885, allocations: 4.704 MB / 0.6202 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.3885, allocations: 16.05 kB / 0.6202 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007689/0.3962, allocations: 8.03 MB / 0.6281 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.3974, allocations: 0.7046 MB / 0.6288 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.3977, allocations: 55.98 kB / 0.6288 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008744/0.3986, allocations: 187.7 kB / 0.629 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.3988, allocations: 169.5 kB / 0.6292 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.3989, allocations: 79.97 kB / 0.6292 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002335/0.4012, allocations: 2.178 MB / 0.6314 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.21e-07/0.4012, allocations: 0 / 0.6314 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003817/0.4051, allocations: 1.195 MB / 0.6325 GB, free: 9.242 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.008025/0.4131, allocations: 8.72 MB / 0.641 GB, free: 304 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006666/0.4197, allocations: 5.853 MB / 0.6468 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.4198, allocations: 4.125 kB / 0.6468 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.4217, allocations: 2.101 MB / 0.6488 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.4235, allocations: 448.1 kB / 0.6492 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.201/0.6245, allocations: 48.88 MB / 0.697 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00276/0.6272, allocations: 3.306 MB / 0.7002 GB, free: 136.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003223/0.6304, allocations: 2.191 MB / 0.7023 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/0.6321, allocations: 2.21 MB / 0.7045 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of SimCode: time 9.61e-07/0.6321, allocations: 0 / 0.7045 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06485/0.697, allocations: 69.72 MB / 0.7726 GB, free: 73.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.12, allocations: 7.875 kB / 0.7726 GB, free: 73.64 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.248698574490845]