Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces2.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.001282/0.001282, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001464/0.001464, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2287/0.2287, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 75.88 kB / 0.4974 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.01984/0.3325, allocations: 15.41 MB / 0.5769 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.345, allocations: 5.42 MB / 0.5822 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003675/0.3486, allocations: 155.2 kB / 0.5823 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01287/0.3615, allocations: 6.091 MB / 0.5883 GB, free: 9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009011/0.3705, allocations: 2.996 MB / 0.5912 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00431/0.3748, allocations: 1.579 MB / 0.5927 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01705/0.3919, allocations: 9.891 MB / 0.6024 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009857/0.4017, allocations: 5.989 MB / 0.6083 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006692/0.4084, allocations: 3.17 MB / 0.6113 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00846/0.4169, allocations: 4.529 MB / 0.6158 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002917/0.4198, allocations: 0.6797 MB / 0.6164 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005195/0.425, allocations: 1.612 MB / 0.618 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006079/0.4311, allocations: 3.923 MB / 0.6218 GB, free: 6.465 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006945/0.438, allocations: 3.174 MB / 0.6249 GB, free: 3.273 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01863/0.4567, allocations: 13.08 MB / 0.6377 GB, free: 6.148 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.4567, allocations: 0 / 0.6377 GB, free: 6.148 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.598e-06/0.4567, allocations: 4 kB / 0.6377 GB, free: 6.145 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005417/0.4572, allocations: 0 / 0.6377 GB, free: 6.145 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2485 * Number of variables: 2485 Notification: Performance of Generate backend data structure: time 0.02412/0.4813, allocations: 9.153 MB / 0.6467 GB, free: 12.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.4814, allocations: 8.031 kB / 0.6467 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01806/0.4994, allocations: 3.533 MB / 0.6501 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/0.5156, allocations: 5.949 MB / 0.6559 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004796/0.5161, allocations: 443.9 kB / 0.6563 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002303/0.5184, allocations: 0.5935 MB / 0.6569 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03453/0.5529, allocations: 17.29 MB / 0.6738 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002653/0.5532, allocations: 83.34 kB / 0.6739 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008229/0.554, allocations: 271.8 kB / 0.6741 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005342/0.5593, allocations: 2.893 MB / 0.677 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03118/0.5905, allocations: 14.28 MB / 0.6909 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5892/1.18, allocations: 60.32 MB / 0.7498 GB, free: 112.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01638/1.196, allocations: 5.989 MB / 0.7557 GB, free: 112.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003902/1.2, allocations: 3.671 MB / 0.7592 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004493/1.2, allocations: 193.5 kB / 0.7594 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/1.201, allocations: 62.94 kB / 0.7595 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=239): time 5.761e-06/1.201, allocations: 0 / 0.7595 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=263): time 0.07567/1.276, allocations: 31.55 MB / 0.7903 GB, free: 87.67 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/1.276, allocations: 291 kB / 0.7906 GB, free: 87.32 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006772/1.283, allocations: 6.32 MB / 0.7968 GB, free: 81.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005865/1.284, allocations: 65.7 kB / 0.7968 GB, free: 81.13 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002239/1.286, allocations: 5.27 MB / 0.802 GB, free: 76.34 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.287, allocations: 1.069 MB / 0.803 GB, free: 75.29 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002109/1.289, allocations: 1.864 MB / 0.8048 GB, free: 73.41 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.028e-05/1.289, allocations: 309 kB / 0.8051 GB, free: 73.11 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003972/1.293, allocations: 3.465 MB / 0.8085 GB, free: 69.64 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006352/1.299, allocations: 8.761 MB / 0.8171 GB, free: 58.38 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/1.31, allocations: 12.92 MB / 0.8297 GB, free: 43.15 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/1.31, allocations: 52 kB / 0.8297 GB, free: 43.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.02328/1.334, allocations: 13.82 MB / 0.8432 GB, free: 29.25 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002603/1.334, allocations: 84.03 kB / 0.8433 GB, free: 29.17 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003132/1.334, allocations: 187.9 kB / 0.8435 GB, free: 28.99 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00589/1.34, allocations: 2.264 MB / 0.8457 GB, free: 26.71 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006585/1.347, allocations: 2.078 MB / 0.8477 GB, free: 24.63 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/1.363, allocations: 15.81 MB / 0.8632 GB, free: 8.43 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007758/1.37, allocations: 0.5034 MB / 0.8637 GB, free: 7.926 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001537/1.372, allocations: 0.5269 MB / 0.8642 GB, free: 7.402 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce3.arrow.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 (1096): * Single equations (assignments): 1089 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,13,100.0%), (1,13,100.0%), (2,12,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005258/1.377, allocations: 3.402 MB / 0.8675 GB, free: 3.984 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.378, allocations: 0.5471 MB / 0.868 GB, free: 3.434 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/1.39, allocations: 6.421 MB / 0.8743 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.127e-05/1.39, allocations: 11.95 kB / 0.8743 GB, free: 12.97 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/1.39, allocations: 3.938 kB / 0.8743 GB, free: 12.97 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/1.392, allocations: 0.5196 MB / 0.8748 GB, free: 12.45 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00144/1.393, allocations: 47.88 kB / 0.8749 GB, free: 12.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/1.396, allocations: 195.7 kB / 0.8751 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005526/1.396, allocations: 189.6 kB / 0.8752 GB, free: 12.02 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01473/1.411, allocations: 6.952 MB / 0.882 GB, free: 5.109 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01225/1.423, allocations: 8.427 MB / 0.8903 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003007/1.426, allocations: 2.097 MB / 0.8923 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006872/1.433, allocations: 3.744 MB / 0.896 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of Backend: time 1.112e-06/1.433, allocations: 0 / 0.896 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01593/1.449, allocations: 6.51 MB / 0.9023 GB, free: 272 kB / 0.5919 GB Notification: Performance of SimCode: time 0.03028/1.479, allocations: 16.17 MB / 0.9181 GB, free: 56 kB / 0.6075 GB Notification: Performance of Templates: time 0.4137/1.893, allocations: 84.1 MB / 1 GB, free: 262 MB / 0.6857 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces2.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.73578646099486]