Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001494/0.001494, allocations: 77.39 kB / 19.93 MB, free: 1.773 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.001433/0.001433, allocations: 171.9 kB / 23.22 MB, free: 4.883 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2243/0.2243, allocations: 32.38 MB / 269.6 MB, free: 2.719 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 407.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.106e-05/3.359e-05, allocations: 2.281 kB / 407.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.0267/0.02674, allocations: 12.42 MB / 419.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01924/0.04597, allocations: 4.462 MB / 424.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004698/0.05067, allocations: 107.5 kB / 424.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01541/0.06608, allocations: 3.874 MB / 428.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01533/0.08141, allocations: 2.566 MB / 430.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006121/0.08753, allocations: 1.099 MB / 431.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01954/0.1071, allocations: 6.73 MB / 438.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01224/0.1193, allocations: 4.223 MB / 442.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01485/0.1342, allocations: 3.255 MB / 446.1 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.1445, allocations: 3.168 MB / 449.3 MB, free: 6.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002437/0.1469, allocations: 468 kB / 449.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006493/0.1534, allocations: 1.447 MB / 451.2 MB, free: 4.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005078/0.1585, allocations: 2.891 MB / 454.1 MB, free: 1.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005396/0.1639, allocations: 1.764 MB / 455.9 MB, free: 96 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2903/0.4541, allocations: 9.79 MB / 465.7 MB, free: 28.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4541, allocations: 0.7812 kB / 465.7 MB, free: 28.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4541, allocations: 0 / 465.7 MB, free: 28.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005212/0.4547, allocations: 0.8125 kB / 465.7 MB, free: 28.27 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.0268/0.4815, allocations: 6.69 MB / 472.4 MB, free: 25.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.4815, allocations: 9.969 kB / 472.4 MB, free: 25.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/0.4972, allocations: 2.801 MB / 475.2 MB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/0.5116, allocations: 3.956 MB / 479.1 MB, free: 24.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003657/0.512, allocations: 305.8 kB / 479.4 MB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00241/0.5144, allocations: 412.7 kB / 479.8 MB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02809/0.5425, allocations: 13.06 MB / 492.9 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003213/0.5428, allocations: 59.81 kB / 492.9 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/0.5439, allocations: 194.7 kB / 493.1 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003964/0.5478, allocations: 2.504 MB / 495.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02063/0.5684, allocations: 10.79 MB / 0.4946 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0769/0.6453, allocations: 47.02 MB / 0.5405 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/0.6581, allocations: 4.085 MB / 0.5445 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004251/0.6624, allocations: 2.269 MB / 0.5467 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01478/0.6771, allocations: 6.111 MB / 0.5526 GB, free: 9.742 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.652e-05/0.6772, allocations: 53.12 kB / 0.5527 GB, free: 9.684 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 6.022e-06/0.6772, allocations: 0 / 0.5527 GB, free: 9.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=195): time 0.06227/0.7395, allocations: 20.22 MB / 0.5724 GB, free: 5.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001861/0.7397, allocations: 226.6 kB / 0.5727 GB, free: 5.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01309/0.7528, allocations: 5.337 MB / 0.5779 GB, free: 15.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001206/0.754, allocations: 53.7 kB / 0.5779 GB, free: 15.76 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004902/0.7589, allocations: 4.201 MB / 0.582 GB, free: 11.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001817/0.7607, allocations: 0.7957 MB / 0.5828 GB, free: 10.81 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003124/0.7638, allocations: 1.524 MB / 0.5843 GB, free: 9.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.764, allocations: 305.1 kB / 0.5846 GB, free: 8.984 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00527/0.7692, allocations: 2.634 MB / 0.5872 GB, free: 6.348 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/0.7797, allocations: 7.213 MB / 0.5942 GB, free: 12.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01651/0.7962, allocations: 10.5 MB / 0.6045 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002058/0.7964, allocations: 51.75 kB / 0.6045 GB, free: 456 kB / 494.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02781/0.8242, allocations: 10.51 MB / 0.6148 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.8244, allocations: 75.94 kB / 0.6148 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002734/0.8246, allocations: 162.8 kB / 0.615 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00382/0.8285, allocations: 1.236 MB / 0.6162 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007367/0.8358, allocations: 1.723 MB / 0.6179 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.849, allocations: 8.224 MB / 0.6259 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008888/0.8579, allocations: 483.5 kB / 0.6264 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002144/0.86, allocations: 459.2 kB / 0.6268 GB, free: 9.387 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (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 (918): * Single equations (assignments): 911 * 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%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009854/0.8699, allocations: 2.692 MB / 0.6294 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002698/0.8726, allocations: 429.1 kB / 0.6299 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.8836, allocations: 3.942 MB / 0.6337 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.174e-05/0.8836, allocations: 24 kB / 0.6337 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.907e-05/0.8837, allocations: 4 kB / 0.6337 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.06e-05/0.8837, allocations: 19.89 kB / 0.6337 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3115/1.195, allocations: 8.341 MB / 0.6419 GB, free: 177.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/1.195, allocations: 3.938 kB / 0.6419 GB, free: 177.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/1.197, allocations: 324.4 kB / 0.6422 GB, free: 177.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002988/1.2, allocations: 1.008 MB / 0.6432 GB, free: 176.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002825/1.2, allocations: 38.98 kB / 0.6432 GB, free: 176.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008093/1.208, allocations: 7.566 MB / 0.6506 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.208, allocations: 7.75 kB / 0.6506 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009563/1.218, allocations: 6.81 MB / 0.6573 GB, free: 169.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002334/1.22, allocations: 0.7338 MB / 0.658 GB, free: 169.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007242/1.221, allocations: 35.81 kB / 0.658 GB, free: 169.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/1.223, allocations: 190.4 kB / 0.6582 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003665/1.224, allocations: 116.2 kB / 0.6583 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/1.224, allocations: 58.16 kB / 0.6584 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005177/1.229, allocations: 3.17 MB / 0.6615 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/1.229, allocations: 0 / 0.6615 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008298/1.237, allocations: 1.446 MB / 0.6629 GB, free: 168.3 MB / 0.5137 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 (154): * Single equations (assignments): 149 * 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.0006773/1.238, allocations: 188.1 kB / 0.6631 GB, free: 168.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.248, allocations: 6.069 MB / 0.669 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.248, allocations: 4 kB / 0.669 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002366/1.251, allocations: 1.786 MB / 0.6707 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004699/1.255, allocations: 0.5196 MB / 0.6712 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/1.276, allocations: 12.13 MB / 0.6831 GB, free: 148.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004639/1.281, allocations: 3.628 MB / 0.6866 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004701/1.286, allocations: 2.224 MB / 0.6888 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009828/1.286, allocations: 296.4 kB / 0.6891 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of SimCode: time 7.82e-07/1.286, allocations: 0 / 0.6891 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.07523/1.362, allocations: 40.34 MB / 0.7285 GB, free: 102.3 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.905559409409761]