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.0008392/0.0008392, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003861/0.003861, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8508/0.8508, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2227/0.2227, allocations: 34.24 MB / 295.7 MB, free: 0.6836 MB / 266.7 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 1.452e-06/1.452e-06, allocations: 0 / 443.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.943e-05, allocations: 2.281 kB / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.174/0.174, allocations: 11.09 MB / 454.5 MB, free: 38.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005304/0.1793, allocations: 4.285 MB / 458.8 MB, free: 35.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.1803, allocations: 99.75 kB / 458.9 MB, free: 35.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.1832, allocations: 3.801 MB / 462.7 MB, free: 33.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.1861, allocations: 2.326 MB / 465 MB, free: 32.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.1873, allocations: 1.089 MB / 466.1 MB, free: 32.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003924/0.1913, allocations: 6.793 MB / 472.9 MB, free: 29.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.1939, allocations: 4.01 MB / 476.9 MB, free: 27.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.196, allocations: 2.988 MB / 479.9 MB, free: 26.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.1981, allocations: 2.87 MB / 482.8 MB, free: 25.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005016/0.1986, allocations: 418.3 kB / 483.2 MB, free: 25.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.2004, allocations: 1.396 MB / 484.6 MB, free: 25.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001874/0.2023, allocations: 2.613 MB / 487.2 MB, free: 24.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.2038, allocations: 1.584 MB / 488.8 MB, free: 23.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009583/0.2134, allocations: 8.736 MB / 497.5 MB, free: 20.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2134, allocations: 5.281 kB / 497.5 MB, free: 20.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2134, allocations: 0 / 497.5 MB, free: 20.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002398/0.2137, allocations: 0 / 497.5 MB, free: 20.53 MB / 410.7 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.01087/0.2245, allocations: 6.138 MB / 0.4919 GB, free: 16.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2246, allocations: 9.219 kB / 0.4919 GB, free: 16.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006271/0.2309, allocations: 2.662 MB / 0.4945 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005149/0.236, allocations: 3.655 MB / 0.498 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.2362, allocations: 282 kB / 0.4983 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005181/0.2367, allocations: 382.4 kB / 0.4987 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/0.2473, allocations: 11.66 MB / 0.5101 GB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.422e-05/0.2474, allocations: 55.56 kB / 0.5101 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/0.2477, allocations: 183.8 kB / 0.5103 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001976/0.2497, allocations: 2.143 MB / 0.5124 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.2611, allocations: 9.601 MB / 0.5218 GB, free: 4.758 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03493/0.296, allocations: 43.13 MB / 0.5639 GB, free: 8.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005885/0.3019, allocations: 3.494 MB / 0.5673 GB, free: 4.875 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.3036, allocations: 2.009 MB / 0.5693 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006559/0.3101, allocations: 5.963 MB / 0.5751 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3102, allocations: 51.5 kB / 0.5751 GB, free: 12.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=154): time 4.258e-06/0.3102, allocations: 3.938 kB / 0.5751 GB, free: 12.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.02696/0.3371, allocations: 17.23 MB / 0.592 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/0.3372, allocations: 196.9 kB / 0.5921 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005384/0.3426, allocations: 4.966 MB / 0.597 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.3429, allocations: 57.69 kB / 0.5971 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001686/0.3446, allocations: 3.836 MB / 0.6008 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006075/0.3452, allocations: 0.6863 MB / 0.6015 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/0.3465, allocations: 1.409 MB / 0.6028 GB, free: 268 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.3466, allocations: 305.1 kB / 0.6031 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002278/0.3489, allocations: 2.313 MB / 0.6054 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003897/0.3527, allocations: 6.629 MB / 0.6119 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007031/0.3598, allocations: 9.563 MB / 0.6212 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.306e-05/0.3599, allocations: 44 kB / 0.6213 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.1828/0.5426, allocations: 9.558 MB / 0.6306 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.577e-05/0.5427, allocations: 70.59 kB / 0.6307 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/0.5429, allocations: 150.2 kB / 0.6308 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/0.5449, allocations: 1.209 MB / 0.632 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003082/0.5479, allocations: 1.568 MB / 0.6335 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0058/0.5537, allocations: 8.064 MB / 0.6414 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004158/0.5579, allocations: 430.8 kB / 0.6418 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005474/0.5584, allocations: 423.1 kB / 0.6422 GB, free: 141.1 MB / 0.5261 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.003116/0.5616, allocations: 2.462 MB / 0.6446 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004841/0.562, allocations: 404.5 kB / 0.645 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/0.5653, allocations: 3.348 MB / 0.6483 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.5653, allocations: 15.91 kB / 0.6483 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.5653, allocations: 6.531 kB / 0.6483 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.5653, allocations: 6.516 kB / 0.6483 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008104/0.5734, allocations: 7.146 MB / 0.6553 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.5735, allocations: 3.188 kB / 0.6553 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007003/0.5742, allocations: 302.6 kB / 0.6556 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.5755, allocations: 0.9808 MB / 0.6565 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.5756, allocations: 31.47 kB / 0.6565 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005127/0.5807, allocations: 7.425 MB / 0.6638 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5807, allocations: 4.562 kB / 0.6638 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005576/0.5863, allocations: 5.805 MB / 0.6695 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006972/0.587, allocations: 415.8 kB / 0.6699 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/0.5872, allocations: 25.41 kB / 0.6699 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008896/0.5881, allocations: 156 kB / 0.67 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.5883, allocations: 105.8 kB / 0.6701 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/0.5884, allocations: 45.62 kB / 0.6702 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003213/0.5916, allocations: 2.941 MB / 0.6731 GB, free: 129 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.5916, allocations: 4.062 kB / 0.6731 GB, free: 129 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004023/0.5956, allocations: 1.29 MB / 0.6743 GB, free: 128.8 MB / 0.5261 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.0003393/0.596, allocations: 180.7 kB / 0.6745 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004827/0.6008, allocations: 5.358 MB / 0.6797 GB, free: 127 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6008, allocations: 0 / 0.6797 GB, free: 127 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.602, allocations: 1.527 MB / 0.6812 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.6036, allocations: 0.5136 MB / 0.6817 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.6148, allocations: 11.3 MB / 0.6927 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002324/0.6171, allocations: 3.234 MB / 0.6959 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007544/0.6179, allocations: 315.5 kB / 0.6962 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.313e-06/0.6179, allocations: 0 / 0.6962 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.06349/0.6814, allocations: 111.8 MB / 0.8054 GB, free: 9.199 MB / 0.5261 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/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: 10.099537099711597]