Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.001888/0.001888, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002004/0.002004, allocations: 210.7 kB / 24.48 MB, free: 3.941 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.441/1.441, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2212/0.2212, allocations: 46.97 MB / 361.6 MB, free: 4.012 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.FrameTorques,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.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,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.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.91 kB / 0.4973 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2948, allocations: 66.03 MB / 0.5618 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.02147/0.3163, allocations: 11.09 MB / 0.5727 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.3296, allocations: 4.299 MB / 0.5768 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002706/0.3323, allocations: 107.5 kB / 0.577 GB, free: 4.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0101/0.3424, allocations: 3.606 MB / 0.5805 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006534/0.349, allocations: 2.261 MB / 0.5827 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.3513, allocations: 0.9904 MB / 0.5836 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008337/0.3596, allocations: 6.059 MB / 0.5896 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004339/0.364, allocations: 3.52 MB / 0.593 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002869/0.3668, allocations: 1.986 MB / 0.5949 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003871/0.3707, allocations: 2.823 MB / 0.5977 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008746/0.3716, allocations: 412 kB / 0.5981 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.3741, allocations: 1.357 MB / 0.5994 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002471/0.3766, allocations: 2.485 MB / 0.6018 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002504/0.3791, allocations: 2.011 MB / 0.6038 GB, free: 8.922 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.3893, allocations: 8.704 MB / 0.6123 GB, free: 188 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3893, allocations: 0 / 0.6123 GB, free: 188 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3893, allocations: 0 / 0.6123 GB, free: 188 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002597/0.3896, allocations: 0 / 0.6123 GB, free: 188 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.0143/0.4039, allocations: 6.092 MB / 0.6183 GB, free: 10.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4039, allocations: 8.031 kB / 0.6183 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.416, allocations: 2.583 MB / 0.6208 GB, free: 7.422 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009657/0.4257, allocations: 3.68 MB / 0.6244 GB, free: 3.691 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.426, allocations: 275.5 kB / 0.6246 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00129/0.4272, allocations: 379.7 kB / 0.625 GB, free: 3.051 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/0.449, allocations: 11.66 MB / 0.6364 GB, free: 6.527 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.4491, allocations: 67.52 kB / 0.6365 GB, free: 6.461 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005097/0.4497, allocations: 179.8 kB / 0.6366 GB, free: 6.285 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003711/0.4534, allocations: 2.146 MB / 0.6387 GB, free: 4.141 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02007/0.4734, allocations: 9.605 MB / 0.6481 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06063/0.5341, allocations: 42.89 MB / 0.69 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.5449, allocations: 3.33 MB / 0.6932 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/0.5482, allocations: 1.986 MB / 0.6952 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.559, allocations: 5.002 MB / 0.7001 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.559, allocations: 51.98 kB / 0.7001 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.358e-06/0.5591, allocations: 4 kB / 0.7001 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04713/0.6062, allocations: 17.4 MB / 0.7171 GB, free: 2.379 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.6063, allocations: 234.5 kB / 0.7173 GB, free: 2.102 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006422/0.6128, allocations: 4.807 MB / 0.722 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.6129, allocations: 49.69 kB / 0.7221 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003094/0.616, allocations: 3.895 MB / 0.7259 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007022/0.6167, allocations: 0.6864 MB / 0.7266 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001873/0.6186, allocations: 1.417 MB / 0.7279 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6187, allocations: 313.1 kB / 0.7282 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003513/0.6222, allocations: 2.285 MB / 0.7305 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2653/0.8875, allocations: 6.601 MB / 0.7369 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008671/0.8962, allocations: 9.516 MB / 0.7462 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/0.8964, allocations: 44.75 kB / 0.7462 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01304/0.9094, allocations: 9.512 MB / 0.7555 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.308e-05/0.9095, allocations: 68.09 kB / 0.7556 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/0.9096, allocations: 149.9 kB / 0.7557 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002799/0.9124, allocations: 1.236 MB / 0.757 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004145/0.9165, allocations: 1.56 MB / 0.7585 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007732/0.9243, allocations: 8.129 MB / 0.7664 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005342/0.9296, allocations: 365 kB / 0.7668 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004934/0.9301, allocations: 423.7 kB / 0.7672 GB, free: 127.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 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (836): * Single equations (assignments): 829 * 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,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002777/0.9329, allocations: 2.46 MB / 0.7696 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005287/0.9334, allocations: 407.3 kB / 0.77 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005091/0.9385, allocations: 3.31 MB / 0.7732 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.9385, allocations: 20 kB / 0.7732 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.9385, allocations: 4 kB / 0.7732 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.9385, allocations: 11.97 kB / 0.7732 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.9496, allocations: 7.014 MB / 0.7801 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.9496, allocations: 4.281 kB / 0.7801 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.9508, allocations: 255.6 kB / 0.7803 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002475/0.9533, allocations: 1.012 MB / 0.7813 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.9534, allocations: 27.67 kB / 0.7813 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007001/0.9604, allocations: 7.48 MB / 0.7886 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.9604, allocations: 4 kB / 0.7886 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006982/0.9674, allocations: 5.788 MB / 0.7943 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000808/0.9682, allocations: 373.2 kB / 0.7947 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/0.9686, allocations: 27.98 kB / 0.7947 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.97, allocations: 95.88 kB / 0.7948 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.9702, allocations: 100.6 kB / 0.7949 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.9703, allocations: 47.89 kB / 0.7949 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003159/0.9735, allocations: 2.815 MB / 0.7977 GB, free: 97.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9735, allocations: 0 / 0.7977 GB, free: 97.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004861/0.9783, allocations: 1.132 MB / 0.7988 GB, free: 96.55 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003278/0.9787, allocations: 161.1 kB / 0.7989 GB, free: 96.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006413/0.9851, allocations: 5.336 MB / 0.8041 GB, free: 91.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.9851, allocations: 0 / 0.8041 GB, free: 91.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/0.9868, allocations: 1.531 MB / 0.8056 GB, free: 89.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/0.9893, allocations: 0.5129 MB / 0.8061 GB, free: 89.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.002, allocations: 10.88 MB / 0.8168 GB, free: 78.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003016/1.005, allocations: 3.26 MB / 0.8199 GB, free: 74.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003685/1.009, allocations: 2.022 MB / 0.8219 GB, free: 72.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005799/1.01, allocations: 251.4 kB / 0.8222 GB, free: 72.49 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/1.01, allocations: 0 / 0.8222 GB, free: 72.49 MB / 0.5606 GB Notification: Performance of Templates: time 0.06212/1.072, allocations: 42.89 MB / 0.864 GB, free: 30.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.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: 6.985604779009009]