Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.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.001791/0.001791, allocations: 73.64 kB / 21.24 MB, free: 0.5547 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.002152/0.002152, allocations: 160 kB / 24.5 MB, free: 3.715 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.461/1.461, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2165/0.2165, allocations: 34.27 MB / 295.5 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.88 kB / 443.2 MB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3281, allocations: 66 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.009821/0.3379, allocations: 11.08 MB / 0.5081 GB, free: 22.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00674/0.3447, allocations: 4.298 MB / 0.5123 GB, free: 19.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.3458, allocations: 101.6 kB / 0.5123 GB, free: 19.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005664/0.3515, allocations: 3.604 MB / 0.5159 GB, free: 18.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004754/0.3562, allocations: 2.249 MB / 0.5181 GB, free: 17.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.3581, allocations: 1 MB / 0.519 GB, free: 16.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007866/0.366, allocations: 6.048 MB / 0.5249 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004295/0.3703, allocations: 3.488 MB / 0.5284 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003355/0.3736, allocations: 1.982 MB / 0.5303 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004497/0.3781, allocations: 2.657 MB / 0.5329 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.3793, allocations: 415.2 kB / 0.5333 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.3824, allocations: 1.333 MB / 0.5346 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002232/0.3846, allocations: 2.487 MB / 0.537 GB, free: 9.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002223/0.3868, allocations: 2.014 MB / 0.539 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008919/0.3957, allocations: 8.674 MB / 0.5474 GB, free: 2.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3957, allocations: 0 / 0.5474 GB, free: 2.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3958, allocations: 4 kB / 0.5475 GB, free: 2.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002772/0.396, allocations: 0 / 0.5475 GB, free: 2.164 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01529/0.4113, allocations: 6.089 MB / 0.5534 GB, free: 12.01 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.4114, allocations: 12.02 kB / 0.5534 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.4232, allocations: 2.653 MB / 0.556 GB, free: 9.336 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009708/0.4329, allocations: 3.68 MB / 0.5596 GB, free: 5.605 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002671/0.4332, allocations: 283.1 kB / 0.5599 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.4344, allocations: 375.8 kB / 0.5602 GB, free: 4.961 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02269/0.4571, allocations: 11.65 MB / 0.5716 GB, free: 8.438 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/0.4573, allocations: 67.52 kB / 0.5717 GB, free: 8.371 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004957/0.4578, allocations: 179.8 kB / 0.5718 GB, free: 8.195 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003684/0.4615, allocations: 2.143 MB / 0.5739 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02127/0.4827, allocations: 9.609 MB / 0.5833 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05899/0.5417, allocations: 42.92 MB / 0.6252 GB, free: 252 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/0.5524, allocations: 3.5 MB / 0.6287 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00322/0.5556, allocations: 2.009 MB / 0.6306 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.5668, allocations: 5.706 MB / 0.6362 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.5669, allocations: 47.5 kB / 0.6362 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 3.868e-06/0.5669, allocations: 0 / 0.6362 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04585/0.6127, allocations: 17.06 MB / 0.6529 GB, free: 3.789 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.6129, allocations: 196.9 kB / 0.6531 GB, free: 3.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006758/0.6196, allocations: 4.802 MB / 0.6578 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003429/0.62, allocations: 49.69 kB / 0.6578 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00309/0.6231, allocations: 3.875 MB / 0.6616 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.6241, allocations: 0.7019 MB / 0.6623 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002345/0.6264, allocations: 1.428 MB / 0.6637 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.6266, allocations: 301.1 kB / 0.664 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003672/0.6303, allocations: 2.309 MB / 0.6662 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007062/0.6373, allocations: 6.633 MB / 0.6727 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/0.6494, allocations: 9.556 MB / 0.682 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/0.6495, allocations: 44 kB / 0.6821 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01808/0.6676, allocations: 9.566 MB / 0.6914 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.932e-05/0.6677, allocations: 68.19 kB / 0.6915 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001677/0.6678, allocations: 156 kB / 0.6916 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003171/0.671, allocations: 1.207 MB / 0.6928 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004821/0.6758, allocations: 1.567 MB / 0.6943 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2894/0.9652, allocations: 8.019 MB / 0.7022 GB, free: 155.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005894/0.9711, allocations: 364.5 kB / 0.7025 GB, free: 155.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001337/0.9724, allocations: 424.6 kB / 0.7029 GB, free: 155.7 MB / 0.5919 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.004853/0.9773, allocations: 2.448 MB / 0.7053 GB, free: 154.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000908/0.9782, allocations: 399.1 kB / 0.7057 GB, free: 154.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005405/0.9836, allocations: 3.365 MB / 0.709 GB, free: 153.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.9836, allocations: 16.06 kB / 0.709 GB, free: 153.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.9836, allocations: 5.688 kB / 0.709 GB, free: 153.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.9837, allocations: 10.55 kB / 0.709 GB, free: 153.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/0.997, allocations: 7.008 MB / 0.7159 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.997, allocations: 4.312 kB / 0.7159 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/0.9985, allocations: 295.3 kB / 0.7161 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/1.001, allocations: 0.9922 MB / 0.7171 GB, free: 151.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/1.002, allocations: 36.75 kB / 0.7171 GB, free: 151.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008997/1.011, allocations: 7.365 MB / 0.7243 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.011, allocations: 3.938 kB / 0.7243 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009699/1.02, allocations: 5.801 MB / 0.73 GB, free: 144.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/1.022, allocations: 367.3 kB / 0.7304 GB, free: 144.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004629/1.022, allocations: 33.22 kB / 0.7304 GB, free: 144.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1.023, allocations: 96.12 kB / 0.7305 GB, free: 144.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003145/1.024, allocations: 105.3 kB / 0.7306 GB, free: 144.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.024, allocations: 43.62 kB / 0.7306 GB, free: 144.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004856/1.029, allocations: 2.807 MB / 0.7334 GB, free: 143.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.029, allocations: 1.094 kB / 0.7334 GB, free: 143.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006619/1.035, allocations: 1.138 MB / 0.7345 GB, free: 143.6 MB / 0.5919 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.0003971/1.036, allocations: 160.8 kB / 0.7346 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009115/1.045, allocations: 5.369 MB / 0.7399 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.045, allocations: 1.25 kB / 0.7399 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002022/1.047, allocations: 1.526 MB / 0.7414 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/1.05, allocations: 0.5065 MB / 0.7419 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/1.067, allocations: 10.89 MB / 0.7525 GB, free: 136 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00378/1.071, allocations: 3.25 MB / 0.7557 GB, free: 135 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004101/1.075, allocations: 2.032 MB / 0.7576 GB, free: 134.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006495/1.076, allocations: 259.9 kB / 0.7579 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/1.076, allocations: 0 / 0.7579 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.06276/1.139, allocations: 35.49 MB / 0.7926 GB, free: 101.2 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.225845210952684]