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.0009419/0.0009419, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.005388/0.005388, allocations: 155.5 kB / 24.7 MB, free: 8.895 MB / 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 0.8768/0.8768, allocations: 177 MB / 204.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2493/0.2493, allocations: 34.24 MB / 295.6 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] 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.513e-06/1.513e-06, allocations: 0 / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.337e-05, allocations: 2.281 kB / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.1965/0.1966, allocations: 11.12 MB / 454.5 MB, free: 37.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005293/0.2019, allocations: 4.299 MB / 458.8 MB, free: 35.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009933/0.2029, allocations: 100.8 kB / 458.9 MB, free: 35.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003084/0.2059, allocations: 3.798 MB / 462.7 MB, free: 33.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002647/0.2086, allocations: 2.324 MB / 465.1 MB, free: 32.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.2096, allocations: 1.093 MB / 466.1 MB, free: 31.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003422/0.213, allocations: 6.8 MB / 472.9 MB, free: 29.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.215, allocations: 4.026 MB / 477 MB, free: 27.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.2167, allocations: 2.987 MB / 480 MB, free: 26.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.2184, allocations: 2.881 MB / 482.8 MB, free: 25.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004608/0.2189, allocations: 419.4 kB / 483.3 MB, free: 25.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.2205, allocations: 1.401 MB / 484.7 MB, free: 25.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001576/0.2221, allocations: 2.61 MB / 487.3 MB, free: 24.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.2233, allocations: 1.586 MB / 488.8 MB, free: 23.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007095/0.2304, allocations: 8.75 MB / 497.6 MB, free: 20.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2304, allocations: 1.281 kB / 497.6 MB, free: 20.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2304, allocations: 0 / 497.6 MB, free: 20.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001095/0.2305, allocations: 0 / 497.6 MB, free: 20.32 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.007539/0.238, allocations: 6.154 MB / 0.4919 GB, free: 16.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2381, allocations: 8.438 kB / 0.492 GB, free: 16.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005759/0.2438, allocations: 2.664 MB / 0.4946 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004824/0.2487, allocations: 3.666 MB / 0.4981 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.2488, allocations: 282.4 kB / 0.4984 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004867/0.2493, allocations: 375.7 kB / 0.4988 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.2599, allocations: 11.68 MB / 0.5102 GB, free: 488 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-05/0.26, allocations: 56.83 kB / 0.5102 GB, free: 432 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003047/0.2603, allocations: 183.8 kB / 0.5104 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001945/0.2622, allocations: 2.143 MB / 0.5125 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.273, allocations: 9.605 MB / 0.5219 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03299/0.306, allocations: 43.26 MB / 0.5641 GB, free: 7.988 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005588/0.3116, allocations: 3.489 MB / 0.5675 GB, free: 4.461 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.3135, allocations: 1.986 MB / 0.5695 GB, free: 2.461 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00589/0.3194, allocations: 5.322 MB / 0.5747 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002989/0.3197, allocations: 48.05 kB / 0.5747 GB, free: 13.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 3.426e-06/0.3197, allocations: 0 / 0.5747 GB, free: 13.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.02726/0.347, allocations: 18.1 MB / 0.5924 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.3471, allocations: 222.3 kB / 0.5926 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/0.3522, allocations: 4.991 MB / 0.5975 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.3523, allocations: 45.7 kB / 0.5975 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.3539, allocations: 3.848 MB / 0.6013 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000475/0.3544, allocations: 0.6785 MB / 0.6019 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/0.3559, allocations: 1.401 MB / 0.6033 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.749e-05/0.356, allocations: 305.1 kB / 0.6036 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.3581, allocations: 2.285 MB / 0.6058 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004177/0.3623, allocations: 6.605 MB / 0.6123 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007116/0.3694, allocations: 9.515 MB / 0.6216 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-05/0.3695, allocations: 44 kB / 0.6216 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.2004/0.5699, allocations: 9.512 MB / 0.6309 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-05/0.57, allocations: 70.72 kB / 0.631 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/0.5702, allocations: 150.5 kB / 0.6311 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/0.5722, allocations: 1.235 MB / 0.6323 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/0.5752, allocations: 1.562 MB / 0.6338 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005574/0.5808, allocations: 8.177 MB / 0.6418 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/0.5842, allocations: 424.8 kB / 0.6422 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004638/0.5846, allocations: 423.3 kB / 0.6426 GB, free: 141.2 MB / 0.5261 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.003192/0.5878, allocations: 2.467 MB / 0.645 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004822/0.5883, allocations: 409 kB / 0.6454 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/0.5915, allocations: 3.307 MB / 0.6487 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.5915, allocations: 20.91 kB / 0.6487 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.5915, allocations: 8.312 kB / 0.6487 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.5915, allocations: 6.75 kB / 0.6487 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008073/0.5996, allocations: 7.164 MB / 0.6557 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.5996, allocations: 4.656 kB / 0.6557 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.6002, allocations: 252.6 kB / 0.6559 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.6016, allocations: 1 MB / 0.6569 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.252e-05/0.6017, allocations: 35.78 kB / 0.657 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005735/0.6074, allocations: 7.551 MB / 0.6643 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6074, allocations: 7.875 kB / 0.6643 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005564/0.613, allocations: 5.764 MB / 0.67 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007261/0.6137, allocations: 421.8 kB / 0.6704 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/0.6141, allocations: 26.16 kB / 0.6704 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009461/0.615, allocations: 155.1 kB / 0.6705 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.6152, allocations: 102.4 kB / 0.6706 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.635e-05/0.6153, allocations: 48.83 kB / 0.6707 GB, free: 130 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003527/0.6188, allocations: 2.949 MB / 0.6736 GB, free: 129 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6188, allocations: 3.938 kB / 0.6736 GB, free: 129 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004443/0.6233, allocations: 1.276 MB / 0.6748 GB, free: 128.9 MB / 0.5261 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.0004166/0.6237, allocations: 170 kB / 0.675 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005667/0.6293, allocations: 5.337 MB / 0.6802 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6293, allocations: 0 / 0.6802 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.6307, allocations: 1.531 MB / 0.6817 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.6325, allocations: 0.5133 MB / 0.6822 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.6454, allocations: 11.29 MB / 0.6932 GB, free: 121 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002518/0.6479, allocations: 3.234 MB / 0.6964 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007449/0.6486, allocations: 311 kB / 0.6967 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.162e-06/0.6486, allocations: 4 kB / 0.6967 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.07445/0.7231, allocations: 111.8 MB / 0.8058 GB, free: 8.441 MB / 0.5261 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] 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: 10.41400198545307]