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.001424/0.001424, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001453/0.001453, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2567/0.2567, allocations: 46.94 MB / 360.9 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 179] 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.002072/0.002072, allocations: 67.91 kB / 0.4966 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.331, allocations: 66.03 MB / 0.5611 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01612/0.3472, allocations: 12.74 MB / 0.5736 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.3573, allocations: 4.548 MB / 0.578 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.3593, allocations: 99.5 kB / 0.5781 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007204/0.3665, allocations: 3.773 MB / 0.5818 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006297/0.3728, allocations: 2.237 MB / 0.584 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.3754, allocations: 1.002 MB / 0.585 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01049/0.3859, allocations: 6.05 MB / 0.5909 GB, free: 5.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005609/0.3915, allocations: 3.508 MB / 0.5943 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003679/0.3952, allocations: 1.986 MB / 0.5962 GB, free: 256 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005327/0.4005, allocations: 2.819 MB / 0.599 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001301/0.4018, allocations: 408 kB / 0.5994 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.4054, allocations: 1.49 MB / 0.6008 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003558/0.4089, allocations: 2.485 MB / 0.6033 GB, free: 9.039 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004545/0.4135, allocations: 2.699 MB / 0.6059 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.4268, allocations: 8.638 MB / 0.6143 GB, free: 13.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.4269, allocations: 0 / 0.6143 GB, free: 13.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4269, allocations: 0 / 0.6143 GB, free: 13.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002693/0.4271, allocations: 0 / 0.6143 GB, free: 13.65 MB / 462.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.0166/0.4437, allocations: 6.088 MB / 0.6203 GB, free: 7.496 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4438, allocations: 8.031 kB / 0.6203 GB, free: 7.488 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.4558, allocations: 2.568 MB / 0.6228 GB, free: 4.914 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.4665, allocations: 3.664 MB / 0.6264 GB, free: 1.199 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.4668, allocations: 283.5 kB / 0.6266 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.4682, allocations: 387.7 kB / 0.627 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.4922, allocations: 11.59 MB / 0.6383 GB, free: 4.098 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.4924, allocations: 59.53 kB / 0.6384 GB, free: 4.039 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005265/0.4929, allocations: 179.8 kB / 0.6386 GB, free: 3.863 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003982/0.4969, allocations: 2.143 MB / 0.6406 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02138/0.5182, allocations: 9.621 MB / 0.65 GB, free: 8.082 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0662/0.5845, allocations: 45.55 MB / 0.6945 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.5951, allocations: 3.344 MB / 0.6978 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003474/0.5986, allocations: 2.005 MB / 0.6997 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01414/0.6127, allocations: 6.278 MB / 0.7059 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/0.6128, allocations: 59.5 kB / 0.7059 GB, free: 13.47 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 4.939e-06/0.6128, allocations: 0 / 0.7059 GB, free: 13.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.04969/0.6625, allocations: 16.5 MB / 0.7221 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.6626, allocations: 208.8 kB / 0.7223 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009767/0.6724, allocations: 5.616 MB / 0.7277 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003607/0.6728, allocations: 45.7 kB / 0.7278 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003578/0.6763, allocations: 3.83 MB / 0.7315 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/0.6774, allocations: 0.698 MB / 0.7322 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002653/0.6801, allocations: 1.428 MB / 0.7336 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6802, allocations: 313.1 kB / 0.7339 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3/0.9802, allocations: 2.308 MB / 0.7361 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006104/0.9863, allocations: 6.573 MB / 0.7426 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008298/0.9946, allocations: 9.568 MB / 0.7519 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/0.9947, allocations: 43 kB / 0.752 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01633/1.011, allocations: 9.63 MB / 0.7614 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.363e-05/1.011, allocations: 78.12 kB / 0.7614 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000197/1.011, allocations: 154.7 kB / 0.7616 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002864/1.014, allocations: 1.214 MB / 0.7628 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005676/1.02, allocations: 1.57 MB / 0.7643 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008598/1.028, allocations: 8.117 MB / 0.7722 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005917/1.034, allocations: 364.9 kB / 0.7726 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009376/1.035, allocations: 427.9 kB / 0.773 GB, free: 124.9 MB / 0.5606 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.003662/1.039, allocations: 2.452 MB / 0.7754 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007869/1.04, allocations: 487.9 kB / 0.7758 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005151/1.045, allocations: 3.411 MB / 0.7792 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/1.045, allocations: 20 kB / 0.7792 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.045, allocations: 7.984 kB / 0.7792 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.045, allocations: 7.984 kB / 0.7792 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.058, allocations: 8.138 MB / 0.7872 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/1.058, allocations: 4 kB / 0.7872 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/1.059, allocations: 295.5 kB / 0.7874 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002339/1.062, allocations: 0.9825 MB / 0.7884 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/1.062, allocations: 28 kB / 0.7884 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007269/1.069, allocations: 7.485 MB / 0.7957 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.069, allocations: 7.938 kB / 0.7957 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007525/1.077, allocations: 5.884 MB / 0.8015 GB, free: 96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/1.078, allocations: 486 kB / 0.802 GB, free: 95.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005613/1.079, allocations: 31.83 kB / 0.802 GB, free: 95.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.08, allocations: 91.81 kB / 0.8021 GB, free: 95.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/1.08, allocations: 104.8 kB / 0.8022 GB, free: 95.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.08, allocations: 48 kB / 0.8022 GB, free: 95.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004478/1.085, allocations: 3.58 MB / 0.8057 GB, free: 91.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.085, allocations: 4 kB / 0.8057 GB, free: 91.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005167/1.09, allocations: 1.144 MB / 0.8068 GB, free: 90.56 MB / 0.5606 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.0003464/1.09, allocations: 163.8 kB / 0.807 GB, free: 90.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006735/1.097, allocations: 5.365 MB / 0.8122 GB, free: 85.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.097, allocations: 4.062 kB / 0.8122 GB, free: 85.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/1.099, allocations: 1.529 MB / 0.8137 GB, free: 83.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/1.102, allocations: 0.5997 MB / 0.8143 GB, free: 82.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/1.116, allocations: 11.01 MB / 0.8251 GB, free: 71.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0031/1.119, allocations: 3.755 MB / 0.8287 GB, free: 68.06 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003877/1.123, allocations: 2.13 MB / 0.8308 GB, free: 65.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006881/1.123, allocations: 299.4 kB / 0.8311 GB, free: 65.64 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/1.123, allocations: 0 / 0.8311 GB, free: 65.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.07548/1.199, allocations: 46.37 MB / 0.8764 GB, free: 19.6 MB / 0.5606 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: 7.935628444189206]