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.001782/0.001788, allocations: 117.1 kB / 19.12 MB, free: 3.945 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.002097/0.002097, allocations: 210.6 kB / 22.08 MB, free: 0.9922 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.505/1.505, allocations: 227.4 MB / 252.3 MB, free: 88 kB / 190.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.2295/0.2295, allocations: 46.16 MB / 351.8 MB, free: 14.29 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.003152/0.003152, allocations: 76.88 kB / 490.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1304, allocations: 62.44 MB / 0.5403 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01481/0.1453, allocations: 12.66 MB / 0.5527 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009344/0.1546, allocations: 4.481 MB / 0.5571 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.1566, allocations: 91.69 kB / 0.5572 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007011/0.1637, allocations: 3.707 MB / 0.5608 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005629/0.1693, allocations: 2.175 MB / 0.5629 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.1717, allocations: 1.002 MB / 0.5639 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009172/0.1809, allocations: 6.035 MB / 0.5698 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006286/0.1872, allocations: 4.549 MB / 0.5742 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003689/0.191, allocations: 1.955 MB / 0.5761 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004211/0.1952, allocations: 2.613 MB / 0.5787 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.1965, allocations: 408 kB / 0.5791 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.1997, allocations: 1.432 MB / 0.5805 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002816/0.2025, allocations: 2.416 MB / 0.5828 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003767/0.2063, allocations: 2.699 MB / 0.5855 GB, free: 5.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.2177, allocations: 8.642 MB / 0.5939 GB, free: 13.14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.2178, allocations: 0 / 0.5939 GB, free: 13.14 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.2178, allocations: 7.984 kB / 0.5939 GB, free: 13.14 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002772/0.2181, allocations: 0 / 0.5939 GB, free: 13.14 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.01481/0.2329, allocations: 6.155 MB / 0.5999 GB, free: 6.902 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.2329, allocations: 8.031 kB / 0.5999 GB, free: 6.895 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.245, allocations: 2.571 MB / 0.6025 GB, free: 4.316 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008999/0.2541, allocations: 3.759 MB / 0.6061 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003322/0.2545, allocations: 275.5 kB / 0.6064 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2645/0.5189, allocations: 381.5 kB / 0.6068 GB, free: 55.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02329/0.5423, allocations: 11.59 MB / 0.6181 GB, free: 50.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001887/0.5425, allocations: 63.73 kB / 0.6181 GB, free: 50.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006315/0.5431, allocations: 177.2 kB / 0.6183 GB, free: 50.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004127/0.5473, allocations: 2.143 MB / 0.6204 GB, free: 50.06 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01976/0.567, allocations: 9.618 MB / 0.6298 GB, free: 47.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04455/0.6116, allocations: 45.71 MB / 0.6744 GB, free: 3.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009487/0.6212, allocations: 3.93 MB / 0.6783 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003237/0.6245, allocations: 2.163 MB / 0.6804 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/0.6362, allocations: 6.537 MB / 0.6868 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/0.6363, allocations: 51.55 kB / 0.6868 GB, free: 6.672 MB / 478.1 MB Notification: Performance of pre-optimization done (n=154): time 4.419e-06/0.6364, allocations: 0 / 0.6868 GB, free: 6.672 MB / 478.1 MB Notification: Performance of matching and sorting (n=166): time 0.04765/0.684, allocations: 16.75 MB / 0.7032 GB, free: 6.051 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.6842, allocations: 196.9 kB / 0.7034 GB, free: 5.816 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008787/0.693, allocations: 5.618 MB / 0.7088 GB, free: 292 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003999/0.6934, allocations: 49.7 kB / 0.7089 GB, free: 236 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003229/0.6966, allocations: 3.83 MB / 0.7126 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.6977, allocations: 0.7018 MB / 0.7133 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002067/0.6998, allocations: 1.421 MB / 0.7147 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6999, allocations: 305.1 kB / 0.715 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003608/0.7035, allocations: 2.313 MB / 0.7173 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007516/0.7111, allocations: 6.583 MB / 0.7237 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01285/0.7239, allocations: 9.559 MB / 0.733 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/0.7241, allocations: 44 kB / 0.7331 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01946/0.7436, allocations: 9.652 MB / 0.7425 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.7438, allocations: 70.5 kB / 0.7426 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002349/0.744, allocations: 152 kB / 0.7427 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/0.7474, allocations: 1.214 MB / 0.7439 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00553/0.7529, allocations: 1.575 MB / 0.7454 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.7644, allocations: 8.331 MB / 0.7536 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005359/0.7698, allocations: 372.2 kB / 0.7539 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/0.7709, allocations: 420 kB / 0.7543 GB, free: 13.14 MB / 0.545 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.004585/0.7755, allocations: 2.462 MB / 0.7567 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/0.7767, allocations: 476.8 kB / 0.7572 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007202/0.7839, allocations: 3.429 MB / 0.7605 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.485e-05/0.784, allocations: 27.97 kB / 0.7605 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.784, allocations: 4 kB / 0.7605 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.922e-05/0.784, allocations: 19.84 kB / 0.7606 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/0.8013, allocations: 8.15 MB / 0.7685 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/0.8014, allocations: 0 / 0.7685 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.803, allocations: 311.8 kB / 0.7688 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/0.806, allocations: 0.9848 MB / 0.7698 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002786/0.8063, allocations: 31.98 kB / 0.7698 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.817, allocations: 7.684 MB / 0.7773 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.817, allocations: 4 kB / 0.7773 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/0.8276, allocations: 5.904 MB / 0.7831 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/0.8294, allocations: 0.5446 MB / 0.7836 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000828/0.8302, allocations: 24 kB / 0.7836 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/0.8319, allocations: 91.88 kB / 0.7837 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003284/0.8322, allocations: 100.8 kB / 0.7838 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.8324, allocations: 51.98 kB / 0.7839 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006777/0.8391, allocations: 3.58 MB / 0.7874 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8392, allocations: 0 / 0.7874 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007746/0.8469, allocations: 1.152 MB / 0.7885 GB, free: 9.637 MB / 0.5762 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.0007853/0.8478, allocations: 162.8 kB / 0.7887 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01052/0.8583, allocations: 5.582 MB / 0.7941 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.8584, allocations: 5.875 kB / 0.7941 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002681/0.861, allocations: 1.628 MB / 0.7957 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/0.8649, allocations: 0.6037 MB / 0.7963 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02255/0.8875, allocations: 11.39 MB / 0.8074 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00631/0.8939, allocations: 3.745 MB / 0.8111 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.8951, allocations: 335.4 kB / 0.8114 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of SimCode: time 7.52e-07/0.8951, allocations: 0 / 0.8114 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of Templates: time 0.4119/1.307, allocations: 112.5 MB / 0.9213 GB, free: 152 MB / 0.6231 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.16523597505875]