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.00182/0.00182, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002367/0.002367, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.51/1.51, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2692/0.2692, allocations: 46.9 MB / 357.4 MB, free: 10.49 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.003154/0.003154, allocations: 83.84 kB / 0.4913 GB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1413, allocations: 65.98 MB / 0.5557 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.0182/0.1595, allocations: 15.02 MB / 0.5704 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009964/0.1695, allocations: 4.442 MB / 0.5747 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002549/0.172, allocations: 75.88 kB / 0.5748 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005056/0.1771, allocations: 2.258 MB / 0.577 GB, free: 336 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005679/0.1828, allocations: 2.032 MB / 0.579 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.1846, allocations: 0.6161 MB / 0.5796 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006894/0.1915, allocations: 4.301 MB / 0.5838 GB, free: 9.363 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004515/0.196, allocations: 2.728 MB / 0.5864 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.199, allocations: 1.596 MB / 0.588 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004217/0.2033, allocations: 2.418 MB / 0.5904 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00141/0.2047, allocations: 344 kB / 0.5907 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.2078, allocations: 1.065 MB / 0.5917 GB, free: 1.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3028/0.5105, allocations: 2.002 MB / 0.5937 GB, free: 9.535 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004287/0.5148, allocations: 2.381 MB / 0.596 GB, free: 8.938 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.5274, allocations: 7.778 MB / 0.6036 GB, free: 7.684 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5274, allocations: 0.75 kB / 0.6036 GB, free: 7.684 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5274, allocations: 0 / 0.6036 GB, free: 7.684 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003596/0.5278, allocations: 3.688 kB / 0.6036 GB, free: 7.684 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.01841/0.5462, allocations: 5.212 MB / 0.6087 GB, free: 5.496 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.5463, allocations: 9.906 kB / 0.6087 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003608/0.5499, allocations: 0.8574 MB / 0.6095 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.5619, allocations: 3.226 MB / 0.6127 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008529/0.5704, allocations: 2.605 MB / 0.6152 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/0.5708, allocations: 249.8 kB / 0.6155 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00189/0.5726, allocations: 337.8 kB / 0.6158 GB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02375/0.5964, allocations: 12.23 MB / 0.6277 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/0.5966, allocations: 40.62 kB / 0.6278 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001034/0.5976, allocations: 154.3 kB / 0.6279 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00488/0.6025, allocations: 2.844 MB / 0.6307 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02486/0.6273, allocations: 11.13 MB / 0.6416 GB, free: 6.086 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07675/0.7041, allocations: 40.6 MB / 0.6812 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.7144, allocations: 4.509 MB / 0.6856 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003914/0.7183, allocations: 2.248 MB / 0.6878 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/0.7198, allocations: 1.322 MB / 0.6891 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/0.7199, allocations: 52.56 kB / 0.6892 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 5.881e-06/0.7199, allocations: 0 / 0.6892 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.05295/0.7728, allocations: 18.76 MB / 0.7075 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.7729, allocations: 77.16 kB / 0.7075 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007134/0.78, allocations: 3.185 MB / 0.7107 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000627/0.7806, allocations: 61.7 kB / 0.7107 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003159/0.7838, allocations: 3.248 MB / 0.7139 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001784/0.7856, allocations: 1.012 MB / 0.7149 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003819/0.7894, allocations: 1.186 MB / 0.716 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.7895, allocations: 304.3 kB / 0.7163 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004792/0.7943, allocations: 2.459 MB / 0.7187 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008245/0.8026, allocations: 5.714 MB / 0.7243 GB, free: 14.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01409/0.8167, allocations: 8.975 MB / 0.7331 GB, free: 4.789 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/0.8168, allocations: 32 kB / 0.7331 GB, free: 4.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.02065/0.8375, allocations: 8.985 MB / 0.7419 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.8377, allocations: 52 kB / 0.7419 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002684/0.8379, allocations: 112.9 kB / 0.742 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003403/0.8413, allocations: 1.059 MB / 0.7431 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005273/0.8466, allocations: 1.349 MB / 0.7444 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00872/0.8553, allocations: 5.53 MB / 0.7498 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004956/0.8603, allocations: 315.8 kB / 0.7501 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/0.8618, allocations: 350.2 kB / 0.7504 GB, free: 3.32 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.006626/0.8684, allocations: 2.409 MB / 0.7528 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009102/0.8693, allocations: 329.8 kB / 0.7531 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/0.8804, allocations: 5.359 MB / 0.7583 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.687e-05/0.8805, allocations: 54.27 kB / 0.7584 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.8805, allocations: 4 kB / 0.7584 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.128e-05/0.8805, allocations: 11.95 kB / 0.7584 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03162/0.9122, allocations: 13.02 MB / 0.7711 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.082e-05/0.9122, allocations: 12.12 kB / 0.7711 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/0.9142, allocations: 427.3 kB / 0.7715 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002881/0.9171, allocations: 0.8876 MB / 0.7724 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004692/0.9176, allocations: 59.91 kB / 0.7724 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007282/0.9248, allocations: 4.836 MB / 0.7772 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.827e-05/0.9249, allocations: 23.81 kB / 0.7772 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/0.9398, allocations: 8.029 MB / 0.785 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.9409, allocations: 374.9 kB / 0.7854 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/0.942, allocations: 55.92 kB / 0.7854 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/0.9441, allocations: 147.8 kB / 0.7856 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006358/0.9448, allocations: 161.6 kB / 0.7857 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003424/0.9451, allocations: 82.41 kB / 0.7858 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004692/0.9498, allocations: 1.957 MB / 0.7877 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9498, allocations: 4 kB / 0.7877 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006864/0.9566, allocations: 1.07 MB / 0.7888 GB, free: 11.42 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.01627/0.9729, allocations: 8.682 MB / 0.7973 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01286/0.9858, allocations: 5.773 MB / 0.8029 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.081e-05/0.9858, allocations: 4.125 kB / 0.8029 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00423/0.99, allocations: 2.101 MB / 0.8049 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004197/0.9942, allocations: 458 kB / 0.8054 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4246/1.419, allocations: 47.01 MB / 0.8513 GB, free: 237.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006648/1.426, allocations: 3.708 MB / 0.8549 GB, free: 237.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005098/1.431, allocations: 2.15 MB / 0.857 GB, free: 237.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004054/1.435, allocations: 2.106 MB / 0.8591 GB, free: 235.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.804e-06/1.435, allocations: 0 / 0.8591 GB, free: 235.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/1.54, allocations: 67.12 MB / 0.9246 GB, free: 180.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.73/28.27, allocations: 3.938 kB / 0.9246 GB, free: 180.5 MB / 0.6544 GB " [Timeout remaining time 632] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 32.00917608710006]