Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 210.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.62/1.62, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2716/0.2716, allocations: 44.93 MB / 358.8 MB, free: 6.148 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 67.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3859, allocations: 65.46 MB / 0.5575 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01836/0.4043, allocations: 13.02 MB / 0.5702 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.4167, allocations: 4.229 MB / 0.5743 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004159/0.4209, allocations: 91.62 kB / 0.5744 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005796/0.4267, allocations: 2.18 MB / 0.5765 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007052/0.4337, allocations: 2.051 MB / 0.5785 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.4358, allocations: 0.6083 MB / 0.5791 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007108/0.4429, allocations: 4.307 MB / 0.5833 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004923/0.4478, allocations: 2.664 MB / 0.5859 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.4512, allocations: 1.62 MB / 0.5875 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00486/0.4561, allocations: 2.309 MB / 0.5898 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002104/0.4582, allocations: 344 kB / 0.5901 GB, free: 5.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/0.4616, allocations: 0.9362 MB / 0.591 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003217/0.4648, allocations: 2.014 MB / 0.593 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004055/0.4689, allocations: 1.723 MB / 0.5946 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01254/0.4814, allocations: 7.803 MB / 0.6023 GB, free: 9.363 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4814, allocations: 0 / 0.6023 GB, free: 9.363 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4814, allocations: 0 / 0.6023 GB, free: 9.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003171/0.4817, allocations: 0 / 0.6023 GB, free: 9.363 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.01512/0.4969, allocations: 5.121 MB / 0.6073 GB, free: 4.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4969, allocations: 16.03 kB / 0.6073 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.5093, allocations: 3.219 MB / 0.6104 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008612/0.5179, allocations: 2.337 MB / 0.6127 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003722/0.5183, allocations: 246.6 kB / 0.6129 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002012/0.5203, allocations: 327.7 kB / 0.6133 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02847/0.5488, allocations: 12.24 MB / 0.6252 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003136/0.5491, allocations: 39.69 kB / 0.6252 GB, free: 1.184 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001954/0.551, allocations: 159.8 kB / 0.6254 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005803/0.5568, allocations: 2.84 MB / 0.6282 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/0.5831, allocations: 11.1 MB / 0.639 GB, free: 3.07 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06921/0.6523, allocations: 37.17 MB / 0.6753 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.6626, allocations: 3.6 MB / 0.6788 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003838/0.6664, allocations: 2.245 MB / 0.681 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.6675, allocations: 453.2 kB / 0.6815 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.207e-05/0.6675, allocations: 56.55 kB / 0.6815 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 7.263e-06/0.6675, allocations: 0 / 0.6815 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.0515/0.719, allocations: 18.49 MB / 0.6996 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.7191, allocations: 77.41 kB / 0.6996 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006201/0.7253, allocations: 3.058 MB / 0.7026 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007984/0.7261, allocations: 61.7 kB / 0.7027 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003991/0.7301, allocations: 3.271 MB / 0.7059 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002236/0.7324, allocations: 1.015 MB / 0.7069 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003991/0.7363, allocations: 1.199 MB / 0.708 GB, free: 11.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.7365, allocations: 301.1 kB / 0.7083 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004487/0.741, allocations: 2.467 MB / 0.7107 GB, free: 8.422 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008012/0.749, allocations: 5.727 MB / 0.7163 GB, free: 1.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0135/0.7625, allocations: 8.988 MB / 0.7251 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/0.7626, allocations: 36 kB / 0.7251 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.3441/1.107, allocations: 8.981 MB / 0.7339 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.522e-05/1.107, allocations: 55.47 kB / 0.734 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/1.107, allocations: 114 kB / 0.7341 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002743/1.11, allocations: 1.063 MB / 0.7351 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004142/1.114, allocations: 1.345 MB / 0.7364 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005686/1.119, allocations: 5.362 MB / 0.7417 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003861/1.123, allocations: 324.3 kB / 0.742 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.124, allocations: 341.8 kB / 0.7423 GB, free: 149.2 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 (729): * Single equations (assignments): 722 * 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.004004/1.128, allocations: 2.41 MB / 0.7446 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004584/1.129, allocations: 302.1 kB / 0.7449 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007636/1.136, allocations: 5.343 MB / 0.7502 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-05/1.136, allocations: 48.67 kB / 0.7502 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.136, allocations: 3.469 kB / 0.7502 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/1.137, allocations: 11.11 kB / 0.7502 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/1.154, allocations: 11.32 MB / 0.7613 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-05/1.154, allocations: 12 kB / 0.7613 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/1.156, allocations: 427.3 kB / 0.7617 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002641/1.158, allocations: 0.8841 MB / 0.7626 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002924/1.159, allocations: 55.98 kB / 0.7626 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005094/1.164, allocations: 4.674 MB / 0.7672 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.164, allocations: 15.94 kB / 0.7672 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009565/1.173, allocations: 7.994 MB / 0.775 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/1.174, allocations: 266 kB / 0.7753 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003492/1.175, allocations: 55.44 kB / 0.7753 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.176, allocations: 151.8 kB / 0.7754 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/1.176, allocations: 169.5 kB / 0.7756 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/1.176, allocations: 79.98 kB / 0.7757 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002277/1.179, allocations: 1.73 MB / 0.7774 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.179, allocations: 0 / 0.7774 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004306/1.183, allocations: 1.063 MB / 0.7784 GB, free: 119.4 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.0004516/1.183, allocations: 202.7 kB / 0.7786 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007364/1.191, allocations: 5.786 MB / 0.7843 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/1.191, allocations: 0 / 0.7843 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002399/1.193, allocations: 2.101 MB / 0.7863 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/1.195, allocations: 364.7 kB / 0.7867 GB, free: 111 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/1.211, allocations: 11.51 MB / 0.7979 GB, free: 99.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003248/1.214, allocations: 3.178 MB / 0.801 GB, free: 96.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003875/1.218, allocations: 2.124 MB / 0.8031 GB, free: 94.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006595/1.219, allocations: 227.4 kB / 0.8033 GB, free: 93.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/1.219, allocations: 0 / 0.8033 GB, free: 93.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.06008/1.279, allocations: 33.73 MB / 0.8362 GB, free: 60.49 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 7.486072516068816]