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.001659/0.001659, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001797/0.001797, allocations: 213.2 kB / 23.73 MB, free: 4.164 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.548/1.548, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.2606/0.2606, allocations: 46.95 MB / 360.8 MB, free: 3.906 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.003883/0.003883, allocations: 91.84 kB / 0.4962 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4163, allocations: 66.08 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01815/0.4345, allocations: 13.01 MB / 0.5734 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.4458, allocations: 4.23 MB / 0.5775 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003301/0.4491, allocations: 95.62 kB / 0.5776 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005672/0.4547, allocations: 2.18 MB / 0.5797 GB, free: 428 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00721/0.4619, allocations: 2.047 MB / 0.5817 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.4646, allocations: 0.6122 MB / 0.5823 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008019/0.4726, allocations: 4.309 MB / 0.5866 GB, free: 9.434 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006057/0.4786, allocations: 2.668 MB / 0.5892 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004048/0.4827, allocations: 1.62 MB / 0.5907 GB, free: 5.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004713/0.4874, allocations: 2.305 MB / 0.593 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.489, allocations: 340 kB / 0.5933 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/0.4923, allocations: 0.9362 MB / 0.5942 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003916/0.4962, allocations: 2.014 MB / 0.5962 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005288/0.5015, allocations: 1.723 MB / 0.5979 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01414/0.5157, allocations: 7.808 MB / 0.6055 GB, free: 5.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.5157, allocations: 4 kB / 0.6055 GB, free: 5.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5157, allocations: 0 / 0.6055 GB, free: 5.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003269/0.516, allocations: 0 / 0.6055 GB, free: 5.906 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.01531/0.5313, allocations: 5.141 MB / 0.6105 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.5314, allocations: 15.97 kB / 0.6105 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002941/0.5343, allocations: 0.8487 MB / 0.6114 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/0.5483, allocations: 3.23 MB / 0.6145 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007719/0.556, allocations: 2.56 MB / 0.617 GB, free: 9.988 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003614/0.5564, allocations: 250.4 kB / 0.6173 GB, free: 9.742 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/0.5582, allocations: 331.8 kB / 0.6176 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02752/0.5857, allocations: 12.23 MB / 0.6295 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002952/0.586, allocations: 35.77 kB / 0.6296 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001679/0.5877, allocations: 159.7 kB / 0.6297 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005937/0.5936, allocations: 2.844 MB / 0.6325 GB, free: 9.617 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0263/0.6199, allocations: 11.1 MB / 0.6433 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07446/0.6944, allocations: 38.44 MB / 0.6809 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.7047, allocations: 3.588 MB / 0.6844 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004017/0.7087, allocations: 2.248 MB / 0.6866 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.7099, allocations: 449.2 kB / 0.687 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/0.71, allocations: 60.55 kB / 0.6871 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 6.703e-06/0.71, allocations: 0 / 0.6871 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.05441/0.7644, allocations: 18.51 MB / 0.7051 GB, free: 14.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/0.7645, allocations: 81.34 kB / 0.7052 GB, free: 14.01 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00693/0.7714, allocations: 3.366 MB / 0.7085 GB, free: 10.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005675/0.772, allocations: 61.7 kB / 0.7086 GB, free: 10.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003198/0.7752, allocations: 3.241 MB / 0.7117 GB, free: 7.293 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00178/0.7769, allocations: 1.015 MB / 0.7127 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003708/0.7806, allocations: 1.184 MB / 0.7139 GB, free: 5.074 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.7808, allocations: 305.1 kB / 0.7142 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004828/0.7856, allocations: 2.463 MB / 0.7166 GB, free: 2.305 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008268/0.7939, allocations: 5.715 MB / 0.7221 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/0.8077, allocations: 8.977 MB / 0.7309 GB, free: 420 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001693/0.8079, allocations: 32 kB / 0.7309 GB, free: 388 kB / 0.5606 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.3347/1.143, allocations: 8.991 MB / 0.7397 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-05/1.143, allocations: 58.34 kB / 0.7398 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/1.143, allocations: 116.4 kB / 0.7399 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/1.146, allocations: 1.054 MB / 0.7409 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004625/1.15, allocations: 1.34 MB / 0.7422 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006355/1.157, allocations: 5.387 MB / 0.7475 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003719/1.16, allocations: 320.4 kB / 0.7478 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005542/1.161, allocations: 339.8 kB / 0.7481 GB, free: 146 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.003003/1.164, allocations: 2.407 MB / 0.7505 GB, free: 144 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/1.164, allocations: 335.1 kB / 0.7508 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00725/1.172, allocations: 5.356 MB / 0.756 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.666e-05/1.172, allocations: 47.33 kB / 0.7561 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.172, allocations: 1.875 kB / 0.7561 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/1.172, allocations: 16.14 kB / 0.7561 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/1.189, allocations: 12.5 MB / 0.7683 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.189, allocations: 12 kB / 0.7683 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.191, allocations: 419.3 kB / 0.7687 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/1.193, allocations: 0.8904 MB / 0.7696 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/1.193, allocations: 52 kB / 0.7696 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004817/1.198, allocations: 4.711 MB / 0.7742 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.198, allocations: 15.94 kB / 0.7742 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009331/1.207, allocations: 8.019 MB / 0.7821 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008595/1.208, allocations: 300.4 kB / 0.7823 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/1.209, allocations: 55.73 kB / 0.7824 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.21, allocations: 152 kB / 0.7825 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/1.21, allocations: 181.3 kB / 0.7827 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.21, allocations: 80 kB / 0.7828 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002167/1.213, allocations: 1.961 MB / 0.7847 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.213, allocations: 0 / 0.7847 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004454/1.217, allocations: 1.058 MB / 0.7857 GB, free: 109.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.009458/1.226, allocations: 8.694 MB / 0.7942 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007154/1.234, allocations: 5.773 MB / 0.7999 GB, free: 94.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2e-05/1.234, allocations: 0 / 0.7999 GB, free: 94.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002528/1.236, allocations: 2.101 MB / 0.8019 GB, free: 92.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.239, allocations: 460.5 kB / 0.8024 GB, free: 91.99 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05788/1.297, allocations: 47.16 MB / 0.8484 GB, free: 39.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00449/1.301, allocations: 3.175 MB / 0.8515 GB, free: 36.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004148/1.305, allocations: 2.149 MB / 0.8536 GB, free: 34.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003174/1.308, allocations: 2.1 MB / 0.8557 GB, free: 32.16 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/1.308, allocations: 0 / 0.8557 GB, free: 32.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/1.437, allocations: 67.07 MB / 0.9212 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/17.45, allocations: 0 / 0.9212 GB, free: 13.62 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: 20.767370182089508]