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.001412/0.001412, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001783/0.001783, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.536/1.536, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 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.2497/0.2497, allocations: 46.94 MB / 360.8 MB, free: 3.922 MB / 286.1 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 0.00248/0.00248, allocations: 83.88 kB / 0.4967 GB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3757, allocations: 66.08 MB / 0.5612 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01568/0.3914, allocations: 11.1 MB / 0.572 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.4045, allocations: 4.295 MB / 0.5762 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004035/0.4086, allocations: 99.5 kB / 0.5763 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007998/0.4166, allocations: 3.614 MB / 0.5798 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007953/0.4245, allocations: 2.253 MB / 0.582 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.4275, allocations: 1.002 MB / 0.583 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0107/0.4382, allocations: 6.047 MB / 0.5889 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006325/0.4445, allocations: 3.505 MB / 0.5923 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003991/0.4485, allocations: 1.99 MB / 0.5943 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004855/0.4533, allocations: 2.667 MB / 0.5969 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.4546, allocations: 408 kB / 0.5973 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.4577, allocations: 1.338 MB / 0.5986 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002875/0.4606, allocations: 2.485 MB / 0.601 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003778/0.4643, allocations: 2.019 MB / 0.603 GB, free: 8.828 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.4782, allocations: 8.693 MB / 0.6115 GB, free: 104 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.4782, allocations: 0 / 0.6115 GB, free: 104 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4782, allocations: 0 / 0.6115 GB, free: 104 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004546/0.4786, allocations: 0 / 0.6115 GB, free: 104 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.02155/0.5002, allocations: 6.096 MB / 0.6174 GB, free: 9.938 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.004e-05/0.5002, allocations: 8.031 kB / 0.6174 GB, free: 9.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.5125, allocations: 2.571 MB / 0.6199 GB, free: 7.352 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01184/0.5243, allocations: 3.691 MB / 0.6236 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/0.5247, allocations: 279.5 kB / 0.6238 GB, free: 3.336 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001826/0.5265, allocations: 375.7 kB / 0.6242 GB, free: 2.969 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02777/0.5543, allocations: 11.66 MB / 0.6356 GB, free: 6.445 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/0.5545, allocations: 63.47 kB / 0.6356 GB, free: 6.383 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006804/0.5552, allocations: 179.8 kB / 0.6358 GB, free: 6.207 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004496/0.5597, allocations: 2.151 MB / 0.6379 GB, free: 4.055 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02478/0.5845, allocations: 9.602 MB / 0.6473 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06413/0.6486, allocations: 42.9 MB / 0.6892 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.6594, allocations: 3.333 MB / 0.6924 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.6627, allocations: 1.982 MB / 0.6944 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01139/0.6741, allocations: 5.006 MB / 0.6992 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.6741, allocations: 51.98 kB / 0.6993 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.899e-06/0.6741, allocations: 0 / 0.6993 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04742/0.7215, allocations: 17.4 MB / 0.7163 GB, free: 2.289 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.7217, allocations: 222.3 kB / 0.7165 GB, free: 2.023 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00732/0.729, allocations: 4.807 MB / 0.7212 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003742/0.7294, allocations: 49.7 kB / 0.7212 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003363/0.7327, allocations: 3.895 MB / 0.725 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/0.7338, allocations: 0.6941 MB / 0.7257 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002132/0.7359, allocations: 1.42 MB / 0.7271 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.7361, allocations: 301.1 kB / 0.7274 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003701/0.7398, allocations: 2.293 MB / 0.7296 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2908/1.031, allocations: 6.595 MB / 0.7361 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/1.042, allocations: 9.512 MB / 0.7454 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003581/1.043, allocations: 42.72 kB / 0.7454 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01685/1.059, allocations: 9.519 MB / 0.7547 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/1.06, allocations: 75.19 kB / 0.7548 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/1.06, allocations: 149.8 kB / 0.7549 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002723/1.062, allocations: 1.227 MB / 0.7561 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00441/1.067, allocations: 1.556 MB / 0.7576 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007786/1.075, allocations: 8.123 MB / 0.7656 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005276/1.08, allocations: 373.1 kB / 0.7659 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000831/1.081, allocations: 427.8 kB / 0.7663 GB, free: 127.8 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.003286/1.084, allocations: 2.463 MB / 0.7687 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006602/1.085, allocations: 403.3 kB / 0.7691 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004879/1.09, allocations: 3.309 MB / 0.7724 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/1.09, allocations: 23.94 kB / 0.7724 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/1.09, allocations: 4 kB / 0.7724 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.09, allocations: 11.97 kB / 0.7724 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/1.101, allocations: 7.022 MB / 0.7792 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/1.101, allocations: 6.672 kB / 0.7793 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/1.102, allocations: 247.9 kB / 0.7795 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/1.104, allocations: 1.011 MB / 0.7805 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.104, allocations: 28 kB / 0.7805 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006867/1.111, allocations: 7.488 MB / 0.7878 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.111, allocations: 7.984 kB / 0.7878 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007051/1.118, allocations: 5.782 MB / 0.7935 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.12, allocations: 373.4 kB / 0.7938 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004127/1.12, allocations: 28 kB / 0.7939 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/1.121, allocations: 95.7 kB / 0.7939 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/1.122, allocations: 104.6 kB / 0.794 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.122, allocations: 40 kB / 0.7941 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00391/1.126, allocations: 2.818 MB / 0.7968 GB, free: 97.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.126, allocations: 0 / 0.7968 GB, free: 97.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005329/1.131, allocations: 1.129 MB / 0.7979 GB, free: 96.42 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.0003881/1.131, allocations: 160.2 kB / 0.7981 GB, free: 96.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006633/1.138, allocations: 5.335 MB / 0.8033 GB, free: 90.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.138, allocations: 0 / 0.8033 GB, free: 90.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/1.14, allocations: 1.538 MB / 0.8048 GB, free: 89.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/1.143, allocations: 0.5061 MB / 0.8053 GB, free: 88.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/1.158, allocations: 10.89 MB / 0.8159 GB, free: 77.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0032/1.161, allocations: 3.256 MB / 0.8191 GB, free: 74.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003882/1.165, allocations: 2.014 MB / 0.8211 GB, free: 72.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/1.166, allocations: 259.4 kB / 0.8213 GB, free: 72.37 MB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/1.166, allocations: 0 / 0.8213 GB, free: 72.37 MB / 0.5606 GB Notification: Performance of Templates: time 0.06399/1.23, allocations: 40.1 MB / 0.8605 GB, free: 32.84 MB / 0.5606 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: 7.494315890595317]