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.0008531/0.0008531, allocations: 92.31 kB / 20.95 MB, free: 3.602 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.0008873/0.0008873, allocations: 164.9 kB / 24.26 MB, free: 296 kB / 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.8804/0.8804, allocations: 177 MB / 204.5 MB, free: 5.605 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.2407/0.2407, allocations: 34.24 MB / 295.2 MB, free: 0.6836 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 1.323e-06/1.323e-06, allocations: 0 / 376.7 MB, free: 3.449 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.454e-05, allocations: 4.984 kB / 376.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01024/0.01027, allocations: 13.04 MB / 389.7 MB, free: 6.344 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007839/0.01811, allocations: 4.228 MB / 394 MB, free: 2.102 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.02016, allocations: 91.62 kB / 394.1 MB, free: 2.012 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003332/0.02349, allocations: 2.316 MB / 396.4 MB, free: 15.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004838/0.02833, allocations: 2.123 MB / 398.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.02961, allocations: 0.6627 MB / 399.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004645/0.03426, allocations: 4.694 MB / 403.9 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003313/0.03757, allocations: 3.024 MB / 406.9 MB, free: 5.109 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002843/0.04041, allocations: 2.436 MB / 409.3 MB, free: 2.668 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.04285, allocations: 2.396 MB / 411.7 MB, free: 272 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006502/0.0435, allocations: 348 kB / 412 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.04504, allocations: 1.01 MB / 413.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.0463, allocations: 2.084 MB / 415.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.04774, allocations: 1.312 MB / 416.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006759/0.0545, allocations: 7.759 MB / 424.2 MB, free: 3.723 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.0545, allocations: 4 kB / 424.2 MB, free: 3.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.05451, allocations: 0 / 424.2 MB, free: 3.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002536/0.05476, allocations: 0 / 424.2 MB, free: 3.719 MB / 394.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.009411/0.06417, allocations: 5.133 MB / 429.4 MB, free: 14.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.95e-05/0.06424, allocations: 8.031 kB / 429.4 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001643/0.06588, allocations: 0.8526 MB / 430.2 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007108/0.07299, allocations: 3.949 MB / 434.2 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004455/0.07745, allocations: 2.411 MB / 436.6 MB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.07761, allocations: 254.6 kB / 436.8 MB, free: 7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.07866, allocations: 332.1 kB / 437.1 MB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1667/0.2453, allocations: 12.24 MB / 449.4 MB, free: 93.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/0.2454, allocations: 36.81 kB / 449.4 MB, free: 93.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003286/0.2458, allocations: 153.6 kB / 449.6 MB, free: 93.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002497/0.2483, allocations: 2.846 MB / 452.4 MB, free: 92.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.2633, allocations: 11.11 MB / 463.5 MB, free: 89.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04079/0.3041, allocations: 38.77 MB / 0.4905 GB, free: 65.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005928/0.31, allocations: 3.722 MB / 0.4942 GB, free: 62.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002253/0.3123, allocations: 2.262 MB / 0.4964 GB, free: 60.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005382/0.3128, allocations: 452.1 kB / 0.4968 GB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3128, allocations: 57.08 kB / 0.4969 GB, free: 60.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 5.46e-06/0.3129, allocations: 0.6875 kB / 0.4969 GB, free: 60.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.02467/0.3375, allocations: 19.16 MB / 0.5156 GB, free: 43.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.3376, allocations: 73.41 kB / 0.5156 GB, free: 43.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/0.3406, allocations: 3.533 MB / 0.5191 GB, free: 39.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000296/0.3409, allocations: 65.38 kB / 0.5191 GB, free: 39.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008123/0.3417, allocations: 3.212 MB / 0.5223 GB, free: 36.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006155/0.3423, allocations: 1.002 MB / 0.5233 GB, free: 35.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009502/0.3432, allocations: 1.166 MB / 0.5244 GB, free: 34.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.3433, allocations: 305.1 kB / 0.5247 GB, free: 33.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/0.3456, allocations: 2.456 MB / 0.5271 GB, free: 31.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003001/0.3486, allocations: 5.73 MB / 0.5327 GB, free: 24.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005874/0.3544, allocations: 8.965 MB / 0.5414 GB, free: 13.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.936e-05/0.3545, allocations: 32 kB / 0.5415 GB, free: 13.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.009549/0.3641, allocations: 9.291 MB / 0.5505 GB, free: 4.285 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/0.3641, allocations: 56 kB / 0.5506 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.792e-05/0.3642, allocations: 112.8 kB / 0.5507 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.3658, allocations: 1.055 MB / 0.5517 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/0.3686, allocations: 1.345 MB / 0.5531 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00486/0.3734, allocations: 5.417 MB / 0.5583 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/0.3765, allocations: 347.8 kB / 0.5587 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005869/0.377, allocations: 346.2 kB / 0.559 GB, free: 11.52 MB / 426.7 MB 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.003196/0.3802, allocations: 2.411 MB / 0.5614 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006085/0.3808, allocations: 401.8 kB / 0.5617 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005957/0.3868, allocations: 5.35 MB / 0.567 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-05/0.3868, allocations: 47.98 kB / 0.567 GB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3869, allocations: 4 kB / 0.567 GB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/0.3869, allocations: 11.95 kB / 0.567 GB, free: 3.227 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/0.403, allocations: 12.59 MB / 0.5793 GB, free: 6.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/0.403, allocations: 12.94 kB / 0.5793 GB, free: 6.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.4041, allocations: 423.3 kB / 0.5797 GB, free: 6.008 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.4056, allocations: 0.8877 MB / 0.5806 GB, free: 5.117 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/0.4057, allocations: 55.98 kB / 0.5807 GB, free: 5.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004379/0.4101, allocations: 4.732 MB / 0.5853 GB, free: 228 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.4101, allocations: 19.88 kB / 0.5853 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008461/0.4186, allocations: 8.061 MB / 0.5932 GB, free: 7.922 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008157/0.4194, allocations: 329.8 kB / 0.5935 GB, free: 7.598 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/0.4197, allocations: 51.94 kB / 0.5935 GB, free: 7.547 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009313/0.4206, allocations: 183.7 kB / 0.5937 GB, free: 7.367 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/0.4209, allocations: 169.5 kB / 0.5939 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.421, allocations: 79.98 kB / 0.5939 GB, free: 7.125 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002387/0.4234, allocations: 2.086 MB / 0.596 GB, free: 5.043 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4234, allocations: 0 / 0.596 GB, free: 5.043 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003274/0.4267, allocations: 1.141 MB / 0.5971 GB, free: 3.902 MB / 458.7 MB 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.1711/0.5978, allocations: 8.74 MB / 0.6056 GB, free: 130.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006175/0.604, allocations: 5.779 MB / 0.6113 GB, free: 128.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/0.604, allocations: 2.656 kB / 0.6113 GB, free: 128.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002038/0.606, allocations: 2.106 MB / 0.6133 GB, free: 127.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.608, allocations: 452.4 kB / 0.6138 GB, free: 127.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0478/0.6558, allocations: 47.82 MB / 0.6605 GB, free: 98.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003362/0.6591, allocations: 3.181 MB / 0.6636 GB, free: 96.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002925/0.6621, allocations: 2.162 MB / 0.6657 GB, free: 94.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/0.6637, allocations: 2.098 MB / 0.6677 GB, free: 92.73 MB / 458.7 MB Notification: Performance of SimCode: time 1.833e-06/0.6637, allocations: 4 kB / 0.6677 GB, free: 92.73 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07411/0.7378, allocations: 68.87 MB / 0.735 GB, free: 26.26 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.336/10.07, allocations: 19.86 kB / 0.735 GB, free: 26.24 MB / 458.7 MB " [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.075117025524378]