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.001574/0.001574, allocations: 107.4 kB / 20.48 MB, free: 1.262 MB / 14.72 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.001857/0.001857, allocations: 208.1 kB / 23.77 MB, free: 4.434 MB / 14.72 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 1.529/1.529, allocations: 230.5 MB / 257.5 MB, free: 7.699 MB / 206.1 MB " [Timeout remaining time 178] 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.2886/0.2886, allocations: 46.94 MB / 360.9 MB, free: 3.875 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002313/0.002313, allocations: 83.86 kB / 0.4963 GB, free: 7.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3381, allocations: 66.08 MB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01714/0.3552, allocations: 13.01 MB / 0.5735 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009927/0.3652, allocations: 4.23 MB / 0.5776 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.3675, allocations: 91.62 kB / 0.5777 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005185/0.3727, allocations: 2.18 MB / 0.5798 GB, free: 420 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00612/0.3788, allocations: 2.047 MB / 0.5818 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.3807, allocations: 0.6199 MB / 0.5824 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006961/0.3877, allocations: 4.305 MB / 0.5866 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004226/0.3919, allocations: 2.664 MB / 0.5893 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.3954, allocations: 1.62 MB / 0.5908 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004079/0.3995, allocations: 2.308 MB / 0.5931 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.4005, allocations: 344 kB / 0.5934 GB, free: 2.426 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.4028, allocations: 0.9401 MB / 0.5943 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00231/0.4051, allocations: 2.01 MB / 0.5963 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002716/0.4078, allocations: 1.719 MB / 0.598 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.4191, allocations: 7.808 MB / 0.6056 GB, free: 5.898 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4191, allocations: 0 / 0.6056 GB, free: 5.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4191, allocations: 3.938 kB / 0.6056 GB, free: 5.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002707/0.4194, allocations: 0 / 0.6056 GB, free: 5.895 MB / 446.1 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.01618/0.4356, allocations: 5.148 MB / 0.6106 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4357, allocations: 8.031 kB / 0.6106 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00236/0.438, allocations: 0.8526 MB / 0.6115 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.4499, allocations: 3.273 MB / 0.6147 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006635/0.4566, allocations: 2.564 MB / 0.6172 GB, free: 9.926 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.4568, allocations: 254.4 kB / 0.6174 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/0.4582, allocations: 335.7 kB / 0.6177 GB, free: 9.348 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0255/0.4837, allocations: 12.24 MB / 0.6297 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/0.4838, allocations: 31.7 kB / 0.6297 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005695/0.4844, allocations: 155.8 kB / 0.6299 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005608/0.49, allocations: 2.844 MB / 0.6326 GB, free: 9.543 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02452/0.5145, allocations: 11.11 MB / 0.6435 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07011/0.5846, allocations: 38.61 MB / 0.6812 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009855/0.5945, allocations: 3.713 MB / 0.6848 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003748/0.5982, allocations: 2.252 MB / 0.687 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009966/0.5992, allocations: 457.2 kB / 0.6875 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/0.5993, allocations: 56.56 kB / 0.6875 GB, free: 308 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 5.59e-06/0.5993, allocations: 0 / 0.6875 GB, free: 308 kB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.05139/0.6507, allocations: 18.99 MB / 0.7061 GB, free: 13.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.6508, allocations: 73.41 kB / 0.7061 GB, free: 13.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0058/0.6566, allocations: 3.37 MB / 0.7094 GB, free: 9.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006328/0.6572, allocations: 61.7 kB / 0.7095 GB, free: 9.703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003076/0.6603, allocations: 3.245 MB / 0.7127 GB, free: 6.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001597/0.6619, allocations: 1.019 MB / 0.7136 GB, free: 5.402 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00208/0.6639, allocations: 1.188 MB / 0.7148 GB, free: 4.203 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.6641, allocations: 309.1 kB / 0.7151 GB, free: 3.898 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00426/0.6684, allocations: 2.452 MB / 0.7175 GB, free: 1.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007625/0.676, allocations: 5.723 MB / 0.7231 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.318/0.994, allocations: 8.969 MB / 0.7318 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/0.9942, allocations: 32.59 kB / 0.7319 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01754/1.012, allocations: 8.994 MB / 0.7407 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.793e-05/1.012, allocations: 53.75 kB / 0.7407 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/1.012, allocations: 115 kB / 0.7408 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00285/1.015, allocations: 1.05 MB / 0.7418 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/1.019, allocations: 1.349 MB / 0.7432 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005838/1.025, allocations: 5.39 MB / 0.7484 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003595/1.028, allocations: 318.6 kB / 0.7487 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007039/1.029, allocations: 343.7 kB / 0.7491 GB, free: 144 MB / 0.5606 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.003249/1.032, allocations: 2.405 MB / 0.7514 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004708/1.033, allocations: 334.9 kB / 0.7517 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007388/1.04, allocations: 5.354 MB / 0.757 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.201e-05/1.04, allocations: 49.2 kB / 0.757 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.04, allocations: 0 / 0.757 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/1.04, allocations: 15.53 kB / 0.757 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/1.057, allocations: 12.54 MB / 0.7693 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/1.057, allocations: 12 kB / 0.7693 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/1.059, allocations: 424.4 kB / 0.7697 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/1.062, allocations: 0.8871 MB / 0.7705 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002906/1.062, allocations: 52 kB / 0.7706 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/1.067, allocations: 4.693 MB / 0.7752 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.067, allocations: 23.88 kB / 0.7752 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/1.078, allocations: 8.033 MB / 0.783 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000858/1.078, allocations: 301.4 kB / 0.7833 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007161/1.079, allocations: 55.98 kB / 0.7834 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/1.081, allocations: 143.8 kB / 0.7835 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004062/1.081, allocations: 181.4 kB / 0.7837 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.081, allocations: 72 kB / 0.7838 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002453/1.084, allocations: 1.961 MB / 0.7857 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.084, allocations: 0 / 0.7857 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0048/1.089, allocations: 1.062 MB / 0.7867 GB, free: 108.2 MB / 0.5606 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.01127/1.1, allocations: 8.692 MB / 0.7952 GB, free: 99.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00705/1.107, allocations: 5.776 MB / 0.8008 GB, free: 93.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.637e-05/1.107, allocations: 0 / 0.8008 GB, free: 93.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002445/1.109, allocations: 2.102 MB / 0.8029 GB, free: 91.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/1.112, allocations: 459 kB / 0.8033 GB, free: 90.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05303/1.165, allocations: 47.14 MB / 0.8494 GB, free: 38.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/1.168, allocations: 3.179 MB / 0.8525 GB, free: 35.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003667/1.172, allocations: 2.157 MB / 0.8546 GB, free: 33.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002232/1.174, allocations: 2.107 MB / 0.8566 GB, free: 31.14 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/1.174, allocations: 0 / 0.8566 GB, free: 31.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/1.293, allocations: 67.01 MB / 0.9221 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/17.86, allocations: 5.906 kB / 0.9221 GB, free: 12.65 MB / 0.6075 GB " [Timeout remaining time 642] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/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: 21.118835168948863]