Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.001887/0.001887, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002026/0.002026, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.575/1.575, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4001/0.4001, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.102e-05, allocations: 4.844 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01747/0.01751, allocations: 12.19 MB / 389.4 MB, free: 6.645 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.02837, allocations: 4.406 MB / 393.8 MB, free: 2.227 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.03082, allocations: 99.5 kB / 393.9 MB, free: 2.129 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008779/0.0396, allocations: 3.98 MB / 397.9 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007742/0.04735, allocations: 2.317 MB / 400.2 MB, free: 11.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.05051, allocations: 1.13 MB / 401.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01192/0.06242, allocations: 6.799 MB / 408.1 MB, free: 3.863 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008121/0.07054, allocations: 4.147 MB / 412.3 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007901/0.07844, allocations: 3.005 MB / 415.3 MB, free: 12.63 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006034/0.08448, allocations: 2.958 MB / 418.3 MB, free: 9.668 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.0863, allocations: 420 kB / 418.7 MB, free: 9.258 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/0.08986, allocations: 1.4 MB / 420.1 MB, free: 7.855 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003919/0.09378, allocations: 2.63 MB / 422.7 MB, free: 5.219 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003355/0.09714, allocations: 1.601 MB / 424.3 MB, free: 3.613 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01386/0.111, allocations: 8.769 MB / 433.1 MB, free: 10.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.111, allocations: 4 kB / 433.1 MB, free: 10.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.111, allocations: 0 / 433.1 MB, free: 10.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003134/0.1113, allocations: 3.938 kB / 433.1 MB, free: 10.81 MB / 410.7 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.01818/0.1295, allocations: 7.092 MB / 440.2 MB, free: 3.645 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.1296, allocations: 8.031 kB / 440.2 MB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/0.1435, allocations: 3.102 MB / 443.3 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1694/0.3129, allocations: 3.354 MB / 446.6 MB, free: 95.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003581/0.3133, allocations: 276.8 kB / 446.9 MB, free: 95.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/0.315, allocations: 373.2 kB / 447.3 MB, free: 95.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0245/0.3395, allocations: 7.789 MB / 455.1 MB, free: 91.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002159/0.3398, allocations: 56.42 kB / 455.1 MB, free: 91.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007717/0.3405, allocations: 176.8 kB / 455.3 MB, free: 91.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005724/0.3462, allocations: 2.147 MB / 457.4 MB, free: 90.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0225/0.3688, allocations: 4.174 MB / 461.6 MB, free: 90.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06743/0.4362, allocations: 55.64 MB / 0.5051 GB, free: 45.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008318/0.4445, allocations: 2.219 MB / 0.5073 GB, free: 45.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.4458, allocations: 0.6957 MB / 0.508 GB, free: 45.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008509/0.4543, allocations: 4.333 MB / 0.5122 GB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.4543, allocations: 60.39 kB / 0.5123 GB, free: 42.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.717e-06/0.4543, allocations: 0 / 0.5123 GB, free: 42.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.03857/0.4929, allocations: 13.73 MB / 0.5257 GB, free: 30.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.4929, allocations: 226.2 kB / 0.5259 GB, free: 30.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005756/0.4987, allocations: 5.497 MB / 0.5312 GB, free: 24.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002716/0.499, allocations: 49.7 kB / 0.5313 GB, free: 24.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001886/0.5008, allocations: 4.321 MB / 0.5355 GB, free: 20.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007235/0.5016, allocations: 0.7411 MB / 0.5362 GB, free: 19.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001843/0.5034, allocations: 1.796 MB / 0.538 GB, free: 17.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.5035, allocations: 480.7 kB / 0.5385 GB, free: 17.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.5051, allocations: 0.8137 MB / 0.5392 GB, free: 16.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003623/0.5087, allocations: 7.405 MB / 0.5465 GB, free: 6.301 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009367/0.5181, allocations: 8.998 MB / 0.5553 GB, free: 10.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001952/0.5183, allocations: 40 kB / 0.5553 GB, free: 10.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01674/0.535, allocations: 6.679 MB / 0.5618 GB, free: 3.688 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.5351, allocations: 72 kB / 0.5619 GB, free: 3.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001977/0.5353, allocations: 148 kB / 0.562 GB, free: 3.473 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003348/0.5387, allocations: 0.8247 MB / 0.5628 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005275/0.544, allocations: 1.567 MB / 0.5644 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009791/0.5538, allocations: 6.146 MB / 0.5704 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006901/0.5607, allocations: 415.6 kB / 0.5708 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/0.5618, allocations: 424 kB / 0.5712 GB, free: 9.867 MB / 442.7 MB 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.002645/0.5645, allocations: 0.83 MB / 0.572 GB, free: 9.023 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/0.5656, allocations: 453.2 kB / 0.5724 GB, free: 8.578 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005331/0.571, allocations: 1.828 MB / 0.5742 GB, free: 6.723 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.913e-05/0.571, allocations: 23.98 kB / 0.5742 GB, free: 6.699 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.571, allocations: 4 kB / 0.5742 GB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/0.571, allocations: 11.97 kB / 0.5742 GB, free: 6.684 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/0.5908, allocations: 7.019 MB / 0.5811 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/0.5908, allocations: 7.984 kB / 0.5811 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.5922, allocations: 255.6 kB / 0.5813 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003075/0.5953, allocations: 0.6061 MB / 0.5819 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002266/0.5955, allocations: 28 kB / 0.582 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008884/0.6044, allocations: 5.635 MB / 0.5875 GB, free: 8.797 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.6044, allocations: 7.938 kB / 0.5875 GB, free: 8.789 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007676/0.6121, allocations: 3.136 MB / 0.5905 GB, free: 5.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0021/0.6142, allocations: 405.1 kB / 0.5909 GB, free: 5.172 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007443/0.615, allocations: 32.11 kB / 0.591 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/0.617, allocations: 147.7 kB / 0.5911 GB, free: 4.996 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/0.6173, allocations: 104.7 kB / 0.5912 GB, free: 4.895 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.6175, allocations: 48 kB / 0.5912 GB, free: 4.848 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005154/0.6226, allocations: 2.272 MB / 0.5935 GB, free: 2.574 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6226, allocations: 0 / 0.5935 GB, free: 2.574 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007311/0.6299, allocations: 1.281 MB / 0.5947 GB, free: 1.293 MB / 458.7 MB 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.0006298/0.6306, allocations: 170.9 kB / 0.5949 GB, free: 1.117 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009187/0.6398, allocations: 3.91 MB / 0.5987 GB, free: 13.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.6398, allocations: 4 kB / 0.5987 GB, free: 13.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.6419, allocations: 1.051 MB / 0.5997 GB, free: 12.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/0.6455, allocations: 0.5292 MB / 0.6002 GB, free: 11.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/0.6651, allocations: 8.95 MB / 0.609 GB, free: 2.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1792/0.8443, allocations: 2.956 MB / 0.6119 GB, free: 132.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004178/0.8485, allocations: 1.748 MB / 0.6136 GB, free: 132.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007989/0.8493, allocations: 262.8 kB / 0.6138 GB, free: 132.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.763e-06/0.8493, allocations: 3.062 kB / 0.6138 GB, free: 132.4 MB / 474.7 MB Notification: Performance of Templates: time 0.06859/0.9179, allocations: 36.88 MB / 0.6498 GB, free: 124.4 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.450471390970051]