Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001344/0.001344, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001513/0.001513, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.438/1.438, allocations: 177.2 MB / 204.9 MB, free: 9.059 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.214/0.214, allocations: 32.81 MB / 294.1 MB, free: 56 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 67.89 kB / 440.6 MB, free: 9.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3276, allocations: 65.44 MB / 0.4942 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01054/0.3381, allocations: 11.08 MB / 0.505 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007994/0.3461, allocations: 4.291 MB / 0.5092 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.348, allocations: 102 kB / 0.5093 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005571/0.3536, allocations: 3.608 MB / 0.5128 GB, free: 19.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005327/0.3589, allocations: 2.248 MB / 0.515 GB, free: 18.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.3612, allocations: 1.008 MB / 0.516 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008762/0.37, allocations: 6.04 MB / 0.5219 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004355/0.3743, allocations: 3.49 MB / 0.5253 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/0.3777, allocations: 1.987 MB / 0.5272 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004246/0.382, allocations: 2.657 MB / 0.5298 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001063/0.383, allocations: 407.9 kB / 0.5302 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.386, allocations: 1.34 MB / 0.5315 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00263/0.3886, allocations: 2.482 MB / 0.5339 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002939/0.3916, allocations: 2.015 MB / 0.5359 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009241/0.4008, allocations: 8.68 MB / 0.5444 GB, free: 4.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4008, allocations: 0 / 0.5444 GB, free: 4.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4008, allocations: 0 / 0.5444 GB, free: 4.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003127/0.4011, allocations: 0 / 0.5444 GB, free: 4.477 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.01625/0.4174, allocations: 6.08 MB / 0.5503 GB, free: 15.35 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4174, allocations: 12.03 kB / 0.5503 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/0.4299, allocations: 2.665 MB / 0.5529 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.4399, allocations: 3.668 MB / 0.5565 GB, free: 8.949 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.4402, allocations: 287.4 kB / 0.5568 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/0.4413, allocations: 375.7 kB / 0.5571 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02324/0.4646, allocations: 11.65 MB / 0.5685 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002324/0.4648, allocations: 67.45 kB / 0.5686 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001165/0.466, allocations: 179.8 kB / 0.5688 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003979/0.4699, allocations: 2.147 MB / 0.5709 GB, free: 9.387 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02307/0.493, allocations: 9.594 MB / 0.5802 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06176/0.5548, allocations: 42.94 MB / 0.6222 GB, free: 3.578 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.5655, allocations: 3.503 MB / 0.6256 GB, free: 48 kB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003184/0.5687, allocations: 2.01 MB / 0.6275 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/0.5803, allocations: 5.702 MB / 0.6331 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.5804, allocations: 43.56 kB / 0.6332 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.819e-06/0.5804, allocations: 0 / 0.6332 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.05053/0.6309, allocations: 17.06 MB / 0.6498 GB, free: 7.125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/0.6311, allocations: 200.8 kB / 0.65 GB, free: 6.887 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/0.6422, allocations: 4.802 MB / 0.6547 GB, free: 2.062 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004437/0.6426, allocations: 49.64 kB / 0.6547 GB, free: 2.008 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003479/0.6461, allocations: 3.879 MB / 0.6585 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001144/0.6472, allocations: 0.6941 MB / 0.6592 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003202/0.6504, allocations: 1.424 MB / 0.6606 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6505, allocations: 309.1 kB / 0.6609 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003967/0.6545, allocations: 2.309 MB / 0.6631 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007755/0.6623, allocations: 6.629 MB / 0.6696 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01283/0.6751, allocations: 9.567 MB / 0.679 GB, free: 4.902 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001892/0.6753, allocations: 44 kB / 0.679 GB, free: 4.859 MB / 0.5763 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.02038/0.6957, allocations: 9.554 MB / 0.6883 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002411/0.6959, allocations: 68 kB / 0.6884 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003345/0.6962, allocations: 152 kB / 0.6885 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003731/0.7, allocations: 1.212 MB / 0.6897 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005861/0.7058, allocations: 1.571 MB / 0.6913 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/0.7177, allocations: 8.004 MB / 0.6991 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.305/1.023, allocations: 365.1 kB / 0.6994 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/1.024, allocations: 424 kB / 0.6998 GB, free: 160.6 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.00458/1.028, allocations: 2.458 MB / 0.7022 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008581/1.029, allocations: 403.8 kB / 0.7026 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006077/1.035, allocations: 3.348 MB / 0.7059 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/1.035, allocations: 19.5 kB / 0.7059 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.035, allocations: 5.875 kB / 0.7059 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/1.035, allocations: 10.64 kB / 0.7059 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/1.05, allocations: 7.019 MB / 0.7128 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.05, allocations: 3.031 kB / 0.7128 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/1.051, allocations: 301.4 kB / 0.7131 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002561/1.054, allocations: 0.9863 MB / 0.714 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/1.054, allocations: 25.31 kB / 0.7141 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008395/1.063, allocations: 7.363 MB / 0.7212 GB, free: 152.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.063, allocations: 10.34 kB / 0.7213 GB, free: 152.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009431/1.072, allocations: 5.807 MB / 0.7269 GB, free: 150.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.073, allocations: 370.7 kB / 0.7273 GB, free: 150.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004345/1.074, allocations: 33.28 kB / 0.7273 GB, free: 150.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/1.075, allocations: 89.3 kB / 0.7274 GB, free: 150.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/1.076, allocations: 106.8 kB / 0.7275 GB, free: 150.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/1.076, allocations: 51.25 kB / 0.7275 GB, free: 150.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005449/1.081, allocations: 2.808 MB / 0.7303 GB, free: 149.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.081, allocations: 0 / 0.7303 GB, free: 149.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007667/1.089, allocations: 1.134 MB / 0.7314 GB, free: 149.5 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.0004743/1.089, allocations: 158 kB / 0.7315 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009057/1.098, allocations: 5.37 MB / 0.7368 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.098, allocations: 1.406 kB / 0.7368 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002133/1.101, allocations: 1.524 MB / 0.7383 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/1.104, allocations: 0.5099 MB / 0.7388 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/1.124, allocations: 10.89 MB / 0.7494 GB, free: 141.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005026/1.129, allocations: 3.256 MB / 0.7526 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00409/1.133, allocations: 2.03 MB / 0.7546 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/1.134, allocations: 258 kB / 0.7548 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.252e-06/1.134, allocations: 0 / 0.7548 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.0639/1.198, allocations: 35.49 MB / 0.7895 GB, free: 108.9 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.399315985036083]