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.001472/0.001472, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00148/0.00148, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.531/1.531, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.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.2393/0.2393, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.002069/0.002069, allocations: 71.89 kB / 0.4914 GB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1443, allocations: 66 MB / 0.5559 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01623/0.1605, allocations: 12.71 MB / 0.5683 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.1719, allocations: 4.516 MB / 0.5727 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002891/0.1748, allocations: 103.4 kB / 0.5728 GB, free: 3.934 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007982/0.1827, allocations: 3.75 MB / 0.5764 GB, free: 176 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007528/0.1903, allocations: 2.23 MB / 0.5786 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.1931, allocations: 1.006 MB / 0.5796 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01056/0.2037, allocations: 6.042 MB / 0.5855 GB, free: 6.871 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005683/0.2094, allocations: 3.804 MB / 0.5892 GB, free: 2.996 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004157/0.2135, allocations: 1.974 MB / 0.5911 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2921/0.5056, allocations: 2.815 MB / 0.5939 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001405/0.507, allocations: 408 kB / 0.5943 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/0.5105, allocations: 1.481 MB / 0.5957 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003143/0.5136, allocations: 2.484 MB / 0.5982 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004649/0.5183, allocations: 2.706 MB / 0.6008 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01828/0.5365, allocations: 8.644 MB / 0.6092 GB, free: 8.785 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.5365, allocations: 0 / 0.6092 GB, free: 8.785 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5366, allocations: 0 / 0.6092 GB, free: 8.785 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004094/0.537, allocations: 1.344 kB / 0.6092 GB, free: 8.785 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.02737/0.5643, allocations: 6.153 MB / 0.6153 GB, free: 5.609 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.5644, allocations: 9.812 kB / 0.6153 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01768/0.5821, allocations: 2.577 MB / 0.6178 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/0.5921, allocations: 3.758 MB / 0.6214 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.5923, allocations: 285.7 kB / 0.6217 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001708/0.594, allocations: 375.8 kB / 0.6221 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02188/0.6159, allocations: 11.6 MB / 0.6334 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/0.616, allocations: 58.7 kB / 0.6335 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005415/0.6166, allocations: 184.7 kB / 0.6336 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003458/0.62, allocations: 2.139 MB / 0.6357 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02183/0.6419, allocations: 9.616 MB / 0.6451 GB, free: 2.707 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09478/0.7366, allocations: 45.72 MB / 0.6898 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01821/0.7549, allocations: 3.79 MB / 0.6935 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00516/0.76, allocations: 2.015 MB / 0.6954 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01621/0.7762, allocations: 6.529 MB / 0.7018 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/0.7763, allocations: 54.75 kB / 0.7019 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 4.538e-06/0.7763, allocations: 0 / 0.7019 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.05232/0.8286, allocations: 16.73 MB / 0.7182 GB, free: 7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/0.8288, allocations: 208.4 kB / 0.7184 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/0.839, allocations: 5.612 MB / 0.7239 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004782/0.8395, allocations: 49.7 kB / 0.7239 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003557/0.8431, allocations: 3.837 MB / 0.7277 GB, free: 13.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001243/0.8443, allocations: 0.6971 MB / 0.7283 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002284/0.8466, allocations: 1.419 MB / 0.7297 GB, free: 11.17 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.8467, allocations: 301.1 kB / 0.73 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004048/0.8508, allocations: 2.317 MB / 0.7323 GB, free: 8.555 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008665/0.8595, allocations: 6.582 MB / 0.7387 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01403/0.8735, allocations: 9.561 MB / 0.748 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001582/0.8736, allocations: 44 kB / 0.7481 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.02463/0.8983, allocations: 9.641 MB / 0.7575 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002077/0.8985, allocations: 68 kB / 0.7576 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002968/0.8988, allocations: 152.8 kB / 0.7577 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004065/0.9028, allocations: 1.217 MB / 0.7589 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007018/0.9099, allocations: 1.574 MB / 0.7604 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/0.923, allocations: 8.331 MB / 0.7686 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006736/0.9297, allocations: 366.2 kB / 0.7689 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/0.9315, allocations: 420 kB / 0.7693 GB, free: 14.84 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.006926/0.9384, allocations: 2.464 MB / 0.7717 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/0.9398, allocations: 480.8 kB / 0.7722 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009263/0.949, allocations: 3.421 MB / 0.7755 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.397e-05/0.9491, allocations: 19.94 kB / 0.7756 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.054e-05/0.9491, allocations: 8 kB / 0.7756 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-05/0.9492, allocations: 3.984 kB / 0.7756 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02327/0.9724, allocations: 8.165 MB / 0.7835 GB, free: 196 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/0.9725, allocations: 4.062 kB / 0.7835 GB, free: 192 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/0.9742, allocations: 299.5 kB / 0.7838 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003363/0.9776, allocations: 0.987 MB / 0.7848 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003069/0.9779, allocations: 32 kB / 0.7848 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/0.9893, allocations: 7.693 MB / 0.7923 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.9893, allocations: 4 kB / 0.7923 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/1.001, allocations: 5.885 MB / 0.7981 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/1.003, allocations: 0.5446 MB / 0.7986 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/1.004, allocations: 32 kB / 0.7986 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002389/1.006, allocations: 87.88 kB / 0.7987 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003517/1.007, allocations: 100.8 kB / 0.7988 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/1.007, allocations: 50.66 kB / 0.7989 GB, free: 144 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008245/1.015, allocations: 3.587 MB / 0.8024 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/1.015, allocations: 0 / 0.8024 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007884/1.023, allocations: 1.148 MB / 0.8035 GB, free: 11.43 MB / 0.6231 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.0006889/1.024, allocations: 161.6 kB / 0.8037 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.034, allocations: 5.356 MB / 0.8089 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.034, allocations: 192 / 0.8089 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002819/1.037, allocations: 1.529 MB / 0.8104 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0053/1.043, allocations: 0.6043 MB / 0.811 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02758/1.07, allocations: 10.93 MB / 0.8216 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008207/1.078, allocations: 3.761 MB / 0.8253 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006257/1.085, allocations: 2.132 MB / 0.8274 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.086, allocations: 291.4 kB / 0.8277 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of SimCode: time 8.52e-07/1.086, allocations: 0 / 0.8277 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of Templates: time 0.4403/1.526, allocations: 42.1 MB / 0.8688 GB, free: 200.1 MB / 0.6387 GB " [Timeout remaining time 658] 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: 8.106717728078365]