Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.001285/0.001285, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001391/0.001391, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.386/1.386, allocations: 230.3 MB / 257.9 MB, free: 8.457 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.2305/0.2305, allocations: 46.9 MB / 361.3 MB, free: 4.625 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: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 79.86 kB / 0.4971 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3228, allocations: 66.03 MB / 0.5615 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01607/0.3389, allocations: 12.73 MB / 0.574 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.3496, allocations: 4.552 MB / 0.5784 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.3522, allocations: 99.5 kB / 0.5785 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008088/0.3603, allocations: 3.769 MB / 0.5822 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006676/0.3669, allocations: 2.241 MB / 0.5844 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.3698, allocations: 1.002 MB / 0.5854 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01013/0.3799, allocations: 6.045 MB / 0.5913 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005793/0.3857, allocations: 3.253 MB / 0.5944 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004968/0.3907, allocations: 1.982 MB / 0.5964 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005568/0.3962, allocations: 2.827 MB / 0.5991 GB, free: 14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001786/0.398, allocations: 408 kB / 0.5995 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003863/0.4019, allocations: 1.482 MB / 0.601 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003873/0.4058, allocations: 2.489 MB / 0.6034 GB, free: 9.625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005138/0.4109, allocations: 2.699 MB / 0.606 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.4256, allocations: 8.646 MB / 0.6145 GB, free: 14.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.4256, allocations: 4 kB / 0.6145 GB, free: 14.22 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4256, allocations: 0 / 0.6145 GB, free: 14.22 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004165/0.4261, allocations: 0 / 0.6145 GB, free: 14.22 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01692/0.443, allocations: 6.076 MB / 0.6204 GB, free: 8.082 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.443, allocations: 8.031 kB / 0.6204 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.455, allocations: 2.571 MB / 0.6229 GB, free: 5.496 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.4656, allocations: 3.66 MB / 0.6265 GB, free: 1.785 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.4659, allocations: 283.5 kB / 0.6268 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/0.4672, allocations: 387.7 kB / 0.6272 GB, free: 1.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02221/0.4894, allocations: 11.59 MB / 0.6385 GB, free: 4.684 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/0.4895, allocations: 55.53 kB / 0.6385 GB, free: 4.629 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004963/0.49, allocations: 179.8 kB / 0.6387 GB, free: 4.453 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00376/0.4938, allocations: 2.143 MB / 0.6408 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02075/0.5146, allocations: 9.636 MB / 0.6502 GB, free: 8.652 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06919/0.5837, allocations: 45.53 MB / 0.6947 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/0.5945, allocations: 3.344 MB / 0.6979 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003069/0.5975, allocations: 2.007 MB / 0.6999 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01354/0.6111, allocations: 6.282 MB / 0.706 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.803e-05/0.6112, allocations: 51.55 kB / 0.7061 GB, free: 14.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 4.238e-06/0.6112, allocations: 0 / 0.7061 GB, free: 14.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.0511/0.6623, allocations: 16.52 MB / 0.7222 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.6624, allocations: 196.9 kB / 0.7224 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01206/0.6745, allocations: 5.616 MB / 0.7279 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005086/0.675, allocations: 45.7 kB / 0.7279 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003702/0.6787, allocations: 3.838 MB / 0.7317 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001186/0.6799, allocations: 0.7018 MB / 0.7324 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003265/0.6831, allocations: 1.424 MB / 0.7338 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6833, allocations: 305.1 kB / 0.734 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3078/0.9911, allocations: 2.304 MB / 0.7363 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006741/0.9978, allocations: 6.578 MB / 0.7427 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008684/1.006, allocations: 9.566 MB / 0.7521 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.93e-05/1.007, allocations: 42.25 kB / 0.7521 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01415/1.021, allocations: 9.628 MB / 0.7615 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.707e-05/1.021, allocations: 82.41 kB / 0.7616 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/1.021, allocations: 153 kB / 0.7617 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/1.024, allocations: 1.205 MB / 0.7629 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004089/1.028, allocations: 1.569 MB / 0.7644 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007535/1.035, allocations: 8.134 MB / 0.7724 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004799/1.04, allocations: 366.4 kB / 0.7727 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006772/1.041, allocations: 424 kB / 0.7731 GB, free: 125.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (842): * Single equations (assignments): 835 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003182/1.044, allocations: 2.453 MB / 0.7755 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007027/1.045, allocations: 483.5 kB / 0.776 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005225/1.05, allocations: 3.413 MB / 0.7793 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.589e-05/1.05, allocations: 19.52 kB / 0.7793 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-05/1.05, allocations: 10.44 kB / 0.7794 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/1.05, allocations: 7.969 kB / 0.7794 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/1.065, allocations: 8.137 MB / 0.7873 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/1.065, allocations: 4 kB / 0.7873 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.066, allocations: 295.5 kB / 0.7876 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002397/1.069, allocations: 0.9858 MB / 0.7886 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/1.069, allocations: 27.98 kB / 0.7886 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006774/1.076, allocations: 7.485 MB / 0.7959 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.076, allocations: 7.938 kB / 0.7959 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007168/1.083, allocations: 5.879 MB / 0.8016 GB, free: 96.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/1.084, allocations: 485.4 kB / 0.8021 GB, free: 96.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004904/1.085, allocations: 31.98 kB / 0.8021 GB, free: 96.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.086, allocations: 87.83 kB / 0.8022 GB, free: 96.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/1.086, allocations: 108.7 kB / 0.8023 GB, free: 96.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/1.087, allocations: 48 kB / 0.8024 GB, free: 96.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004123/1.091, allocations: 3.584 MB / 0.8059 GB, free: 92.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/1.091, allocations: 0 / 0.8059 GB, free: 92.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005369/1.096, allocations: 1.152 MB / 0.807 GB, free: 91.42 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (126): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004297/1.096, allocations: 157.8 kB / 0.8071 GB, free: 91.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006889/1.103, allocations: 5.371 MB / 0.8124 GB, free: 85.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.103, allocations: 4.25 kB / 0.8124 GB, free: 85.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/1.105, allocations: 1.519 MB / 0.8139 GB, free: 84.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/1.109, allocations: 0.5962 MB / 0.8145 GB, free: 83.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/1.124, allocations: 11.01 MB / 0.8252 GB, free: 72.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/1.127, allocations: 3.76 MB / 0.8289 GB, free: 68.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004238/1.131, allocations: 2.13 MB / 0.831 GB, free: 66.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007884/1.132, allocations: 295.4 kB / 0.8312 GB, free: 66.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.373e-06/1.132, allocations: 4 kB / 0.8312 GB, free: 66.49 MB / 0.5606 GB Notification: Performance of Templates: time 0.07612/1.208, allocations: 46.36 MB / 0.8765 GB, free: 20.44 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.420368626713753]