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.001807/0.001807, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.002199/0.002199, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.561/1.561, allocations: 230.5 MB / 254 MB, free: 15.17 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.2517/0.2517, allocations: 46.92 MB / 357 MB, free: 10.18 MB / 286.1 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 0.002388/0.002388, allocations: 79.88 kB / 0.491 GB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1372, allocations: 66.05 MB / 0.5555 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01782/0.1551, allocations: 15.01 MB / 0.5701 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.1662, allocations: 4.446 MB / 0.5745 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002882/0.169, allocations: 91.69 kB / 0.5746 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004971/0.174, allocations: 2.246 MB / 0.5768 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005217/0.1792, allocations: 2.043 MB / 0.5788 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.1807, allocations: 0.6083 MB / 0.5794 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006058/0.1868, allocations: 4.312 MB / 0.5836 GB, free: 8.621 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003792/0.1906, allocations: 2.713 MB / 0.5862 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.1931, allocations: 1.623 MB / 0.5878 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003557/0.1967, allocations: 2.422 MB / 0.5902 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008835/0.1976, allocations: 344 kB / 0.5905 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.1997, allocations: 1.065 MB / 0.5915 GB, free: 408 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3454/0.5452, allocations: 2.003 MB / 0.5935 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003725/0.5489, allocations: 2.381 MB / 0.5958 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.5614, allocations: 7.773 MB / 0.6034 GB, free: 7.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5614, allocations: 0 / 0.6034 GB, free: 7.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5614, allocations: 0 / 0.6034 GB, free: 7.508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004318/0.5618, allocations: 3.938 kB / 0.6034 GB, free: 7.504 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.01934/0.5812, allocations: 5.215 MB / 0.6085 GB, free: 5.312 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.5812, allocations: 12.09 kB / 0.6085 GB, free: 5.312 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00279/0.584, allocations: 0.8526 MB / 0.6093 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.5959, allocations: 3.227 MB / 0.6125 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006689/0.6026, allocations: 2.611 MB / 0.615 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.6028, allocations: 248.9 kB / 0.6153 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/0.6042, allocations: 331.4 kB / 0.6156 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02203/0.6262, allocations: 12.23 MB / 0.6275 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/0.6263, allocations: 38.67 kB / 0.6276 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005741/0.6269, allocations: 150.3 kB / 0.6277 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004943/0.6319, allocations: 2.847 MB / 0.6305 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02467/0.6565, allocations: 11.12 MB / 0.6414 GB, free: 5.355 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07086/0.7274, allocations: 40.6 MB / 0.681 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.7377, allocations: 4.511 MB / 0.6854 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003736/0.7414, allocations: 2.252 MB / 0.6876 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/0.7428, allocations: 1.317 MB / 0.6889 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/0.7429, allocations: 52.56 kB / 0.689 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 4.619e-06/0.7429, allocations: 0 / 0.689 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.0477/0.7906, allocations: 18.76 MB / 0.7073 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.7907, allocations: 77.39 kB / 0.7074 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00554/0.7962, allocations: 3.186 MB / 0.7105 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005093/0.7967, allocations: 64.52 kB / 0.7105 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002999/0.7997, allocations: 3.236 MB / 0.7137 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001587/0.8013, allocations: 1.014 MB / 0.7147 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001942/0.8032, allocations: 1.19 MB / 0.7158 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.8034, allocations: 305.1 kB / 0.7161 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/0.8073, allocations: 2.464 MB / 0.7185 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00688/0.8142, allocations: 5.722 MB / 0.7241 GB, free: 14.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/0.8267, allocations: 8.966 MB / 0.7329 GB, free: 4.051 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/0.8269, allocations: 32 kB / 0.7329 GB, free: 4.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01919/0.846, allocations: 8.989 MB / 0.7417 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/0.8461, allocations: 56.25 kB / 0.7417 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/0.8463, allocations: 116 kB / 0.7419 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003299/0.8496, allocations: 1.046 MB / 0.7429 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005021/0.8546, allocations: 1.345 MB / 0.7442 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008291/0.8629, allocations: 5.539 MB / 0.7496 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004897/0.8678, allocations: 322.1 kB / 0.7499 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/0.869, allocations: 339.9 kB / 0.7502 GB, free: 2.59 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.005702/0.8747, allocations: 2.416 MB / 0.7526 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007419/0.8755, allocations: 329.9 kB / 0.7529 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.8859, allocations: 5.356 MB / 0.7581 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.456e-05/0.8859, allocations: 50.81 kB / 0.7582 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.077e-05/0.8859, allocations: 4 kB / 0.7582 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.707e-05/0.886, allocations: 11.95 kB / 0.7582 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0258/0.9118, allocations: 13.02 MB / 0.7709 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/0.9118, allocations: 12 kB / 0.7709 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/0.9137, allocations: 419.3 kB / 0.7713 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003036/0.9168, allocations: 0.8957 MB / 0.7722 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002628/0.917, allocations: 55.98 kB / 0.7723 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007184/0.9242, allocations: 4.832 MB / 0.777 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.796e-05/0.9242, allocations: 19.88 kB / 0.777 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/0.938, allocations: 8.024 MB / 0.7848 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.9391, allocations: 382.9 kB / 0.7852 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005919/0.9397, allocations: 54.02 kB / 0.7852 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.9411, allocations: 143.8 kB / 0.7854 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004594/0.9416, allocations: 167.5 kB / 0.7855 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/0.9418, allocations: 84.09 kB / 0.7856 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003695/0.9455, allocations: 1.964 MB / 0.7875 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.9455, allocations: 0 / 0.7875 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005788/0.9513, allocations: 1.06 MB / 0.7886 GB, free: 10.7 MB / 0.6075 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.01445/0.9657, allocations: 8.687 MB / 0.7971 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01085/0.9766, allocations: 5.771 MB / 0.8027 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/0.9766, allocations: 0 / 0.8027 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003605/0.9802, allocations: 2.103 MB / 0.8047 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/0.9831, allocations: 468.9 kB / 0.8052 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4339/1.417, allocations: 47 MB / 0.8511 GB, free: 237.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006112/1.423, allocations: 3.705 MB / 0.8547 GB, free: 236.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005067/1.428, allocations: 2.15 MB / 0.8568 GB, free: 236.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003613/1.432, allocations: 2.107 MB / 0.8589 GB, free: 235.1 MB / 0.6544 GB Notification: Performance of SimCode: time 2.184e-06/1.432, allocations: 0 / 0.8589 GB, free: 235.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/1.548, allocations: 67.12 MB / 0.9244 GB, free: 179.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.41/26.96, allocations: 3.984 kB / 0.9244 GB, free: 179.4 MB / 0.6544 GB " [Timeout remaining time 633] (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: 30.401710037956946]