Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001603/0.001603, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001961/0.001961, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 230.2 MB / 257.8 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2463/0.2463, allocations: 46.9 MB / 361.1 MB, free: 4.668 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 79.86 kB / 0.4968 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3258, allocations: 65.98 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.0154/0.3412, allocations: 12.74 MB / 0.5736 GB, free: 8.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009728/0.3509, allocations: 4.54 MB / 0.5781 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.3536, allocations: 87.75 kB / 0.5782 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007783/0.3614, allocations: 3.769 MB / 0.5818 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006517/0.3679, allocations: 2.234 MB / 0.584 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.3705, allocations: 0.9943 MB / 0.585 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009997/0.3805, allocations: 6.039 MB / 0.5909 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005505/0.386, allocations: 3.253 MB / 0.5941 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003866/0.3899, allocations: 1.955 MB / 0.596 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005436/0.3953, allocations: 2.823 MB / 0.5987 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001496/0.3968, allocations: 408 kB / 0.5991 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/0.4005, allocations: 1.478 MB / 0.6006 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003521/0.404, allocations: 2.485 MB / 0.603 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004165/0.4082, allocations: 2.707 MB / 0.6056 GB, free: 7.316 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.4205, allocations: 8.642 MB / 0.6141 GB, free: 14.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.4205, allocations: 3.938 kB / 0.6141 GB, free: 14.63 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4205, allocations: 0 / 0.6141 GB, free: 14.63 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003878/0.4209, allocations: 4 kB / 0.6141 GB, free: 14.63 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.01599/0.4368, allocations: 6.148 MB / 0.6201 GB, free: 8.398 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4369, allocations: 8.031 kB / 0.6201 GB, free: 8.391 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.4492, allocations: 2.568 MB / 0.6226 GB, free: 5.816 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/0.4604, allocations: 3.759 MB / 0.6263 GB, free: 2.004 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000307/0.4607, allocations: 279.5 kB / 0.6265 GB, free: 1.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001588/0.4623, allocations: 383.7 kB / 0.6269 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02579/0.4881, allocations: 11.59 MB / 0.6382 GB, free: 4.906 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003253/0.4884, allocations: 55.53 kB / 0.6383 GB, free: 4.852 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001533/0.4899, allocations: 187.8 kB / 0.6385 GB, free: 4.668 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00437/0.4943, allocations: 2.135 MB / 0.6405 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.5169, allocations: 9.629 MB / 0.6499 GB, free: 8.883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07027/0.5872, allocations: 45.72 MB / 0.6946 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/0.5986, allocations: 3.797 MB / 0.6983 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003415/0.602, allocations: 2.008 MB / 0.7003 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/0.617, allocations: 6.532 MB / 0.7066 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.617, allocations: 51.55 kB / 0.7067 GB, free: 13.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 4.699e-06/0.617, allocations: 0 / 0.7067 GB, free: 13.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.05047/0.6675, allocations: 16.74 MB / 0.723 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.6676, allocations: 196.9 kB / 0.7232 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008376/0.676, allocations: 5.62 MB / 0.7287 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002683/0.6763, allocations: 49.69 kB / 0.7288 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00314/0.6794, allocations: 3.834 MB / 0.7325 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007938/0.6802, allocations: 0.6979 MB / 0.7332 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002074/0.6823, allocations: 1.424 MB / 0.7346 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.6825, allocations: 309.1 kB / 0.7349 GB, free: 196 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2886/0.9711, allocations: 2.31 MB / 0.7371 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005167/0.9763, allocations: 6.579 MB / 0.7436 GB, free: 148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007407/0.9837, allocations: 9.563 MB / 0.7529 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.096e-05/0.9837, allocations: 42 kB / 0.7529 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01329/0.997, allocations: 9.626 MB / 0.7623 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.768e-05/0.9971, allocations: 79.44 kB / 0.7624 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/0.9972, allocations: 151.9 kB / 0.7626 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00265/0.9999, allocations: 1.215 MB / 0.7637 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004182/1.004, allocations: 1.57 MB / 0.7653 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00761/1.012, allocations: 8.324 MB / 0.7734 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005234/1.017, allocations: 370.8 kB / 0.7738 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009584/1.018, allocations: 431.9 kB / 0.7742 GB, free: 124.7 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.003446/1.021, allocations: 2.459 MB / 0.7766 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.022, allocations: 483.5 kB / 0.777 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005437/1.028, allocations: 3.413 MB / 0.7804 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/1.028, allocations: 20 kB / 0.7804 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.028, allocations: 4 kB / 0.7804 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/1.028, allocations: 15.97 kB / 0.7804 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/1.041, allocations: 8.157 MB / 0.7884 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.041, allocations: 4 kB / 0.7884 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/1.043, allocations: 295.5 kB / 0.7887 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002377/1.045, allocations: 0.9814 MB / 0.7896 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/1.045, allocations: 35.98 kB / 0.7896 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007087/1.052, allocations: 7.684 MB / 0.7971 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.052, allocations: 3.938 kB / 0.7972 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/1.063, allocations: 5.883 MB / 0.8029 GB, free: 95.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/1.065, allocations: 0.5417 MB / 0.8034 GB, free: 94.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008184/1.066, allocations: 28 kB / 0.8035 GB, free: 94.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/1.068, allocations: 104.3 kB / 0.8036 GB, free: 94.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/1.068, allocations: 96.81 kB / 0.8036 GB, free: 94.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/1.069, allocations: 47.98 kB / 0.8037 GB, free: 94.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006187/1.075, allocations: 3.576 MB / 0.8072 GB, free: 91.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.075, allocations: 0 / 0.8072 GB, free: 91.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005821/1.081, allocations: 1.158 MB / 0.8083 GB, free: 90 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.0003738/1.081, allocations: 162.8 kB / 0.8085 GB, free: 89.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006667/1.088, allocations: 5.37 MB / 0.8137 GB, free: 84.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.088, allocations: 0 / 0.8137 GB, free: 84.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002282/1.09, allocations: 1.519 MB / 0.8152 GB, free: 82.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/1.095, allocations: 0.6012 MB / 0.8158 GB, free: 82.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02303/1.118, allocations: 11.02 MB / 0.8265 GB, free: 71.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005277/1.123, allocations: 3.758 MB / 0.8302 GB, free: 67.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006598/1.129, allocations: 2.128 MB / 0.8323 GB, free: 65.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/1.131, allocations: 295.4 kB / 0.8326 GB, free: 65.07 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/1.131, allocations: 0 / 0.8326 GB, free: 65.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.07685/1.208, allocations: 43.61 MB / 0.8752 GB, free: 21.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.653286132030189]