Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001704/0.001704, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001959/0.001959, allocations: 216.6 kB / 23.73 MB, free: 4.156 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 44.93 MB / 358.8 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.91 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4326, allocations: 65.47 MB / 0.5575 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01576/0.4483, allocations: 11.09 MB / 0.5683 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.4597, allocations: 4.306 MB / 0.5725 GB, free: 7.891 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.4624, allocations: 99.5 kB / 0.5726 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007891/0.4703, allocations: 3.61 MB / 0.5761 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006941/0.4772, allocations: 2.261 MB / 0.5783 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.4801, allocations: 0.9826 MB / 0.5793 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009737/0.4898, allocations: 6.055 MB / 0.5852 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006986/0.4968, allocations: 3.497 MB / 0.5886 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004561/0.5014, allocations: 1.994 MB / 0.5906 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005797/0.5072, allocations: 2.663 MB / 0.5932 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.5087, allocations: 408 kB / 0.5936 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004083/0.5128, allocations: 1.342 MB / 0.5949 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003841/0.5167, allocations: 2.489 MB / 0.5973 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005101/0.5218, allocations: 2.015 MB / 0.5993 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.5348, allocations: 8.697 MB / 0.6078 GB, free: 3.617 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.5348, allocations: 4 kB / 0.6078 GB, free: 3.613 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5348, allocations: 0 / 0.6078 GB, free: 3.613 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003181/0.5351, allocations: 0 / 0.6078 GB, free: 3.613 MB / 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.01657/0.5517, allocations: 6.092 MB / 0.6137 GB, free: 13.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.5517, allocations: 8.031 kB / 0.6137 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/0.5657, allocations: 2.575 MB / 0.6162 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/0.5784, allocations: 3.684 MB / 0.6198 GB, free: 7.129 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003843/0.5788, allocations: 279.5 kB / 0.6201 GB, free: 6.855 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001917/0.5807, allocations: 383.7 kB / 0.6205 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03/0.6107, allocations: 11.65 MB / 0.6318 GB, free: 9.965 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003697/0.6111, allocations: 63.52 kB / 0.6319 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00184/0.6129, allocations: 179.8 kB / 0.6321 GB, free: 9.727 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004618/0.6175, allocations: 2.15 MB / 0.6342 GB, free: 7.574 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02387/0.6414, allocations: 9.594 MB / 0.6435 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0713/0.7127, allocations: 42.9 MB / 0.6854 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/0.7238, allocations: 3.332 MB / 0.6887 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003423/0.7272, allocations: 1.99 MB / 0.6906 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/0.7391, allocations: 4.999 MB / 0.6955 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.979e-05/0.7391, allocations: 55.92 kB / 0.6956 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 5.099e-06/0.7392, allocations: 0 / 0.6956 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.05556/0.7947, allocations: 17.41 MB / 0.7126 GB, free: 5.805 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002018/0.7949, allocations: 226.3 kB / 0.7128 GB, free: 5.535 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/0.8057, allocations: 4.807 MB / 0.7175 GB, free: 0.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004444/0.8062, allocations: 45.7 kB / 0.7175 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004031/0.8102, allocations: 3.902 MB / 0.7213 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001211/0.8114, allocations: 0.6825 MB / 0.722 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003427/0.8148, allocations: 1.417 MB / 0.7234 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.815, allocations: 305.1 kB / 0.7237 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004316/0.8193, allocations: 2.289 MB / 0.7259 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3033/1.123, allocations: 6.598 MB / 0.7324 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009854/1.132, allocations: 9.52 MB / 0.7417 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001658/1.133, allocations: 43.59 kB / 0.7417 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01585/1.149, allocations: 9.511 MB / 0.751 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000187/1.149, allocations: 70.92 kB / 0.751 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003154/1.149, allocations: 152.1 kB / 0.7512 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/1.152, allocations: 1.236 MB / 0.7524 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004505/1.157, allocations: 1.559 MB / 0.7539 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008353/1.165, allocations: 8.13 MB / 0.7619 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004944/1.17, allocations: 368 kB / 0.7622 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/1.171, allocations: 422.5 kB / 0.7626 GB, free: 131.1 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.004267/1.175, allocations: 2.461 MB / 0.765 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008146/1.176, allocations: 406.1 kB / 0.7654 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005442/1.182, allocations: 3.304 MB / 0.7686 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/1.182, allocations: 27.92 kB / 0.7687 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/1.182, allocations: 4 kB / 0.7687 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/1.182, allocations: 3.984 kB / 0.7687 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/1.195, allocations: 7.027 MB / 0.7755 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/1.195, allocations: 7.984 kB / 0.7755 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.197, allocations: 251.6 kB / 0.7758 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002455/1.199, allocations: 1.001 MB / 0.7768 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/1.199, allocations: 31.94 kB / 0.7768 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007218/1.206, allocations: 7.487 MB / 0.7841 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.206, allocations: 7.938 kB / 0.7841 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007319/1.214, allocations: 5.778 MB / 0.7897 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.215, allocations: 377 kB / 0.7901 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008117/1.216, allocations: 24 kB / 0.7901 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.217, allocations: 87.88 kB / 0.7902 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/1.218, allocations: 108.6 kB / 0.7903 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/1.218, allocations: 44 kB / 0.7904 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004516/1.222, allocations: 2.816 MB / 0.7931 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/1.222, allocations: 4 kB / 0.7931 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006049/1.228, allocations: 1.137 MB / 0.7942 GB, free: 99.64 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.0005375/1.229, allocations: 163.5 kB / 0.7944 GB, free: 99.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008286/1.237, allocations: 5.329 MB / 0.7996 GB, free: 94.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/1.237, allocations: 4 kB / 0.7996 GB, free: 94.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002077/1.239, allocations: 1.535 MB / 0.8011 GB, free: 92.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003843/1.243, allocations: 0.4995 MB / 0.8016 GB, free: 92.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/1.261, allocations: 10.89 MB / 0.8122 GB, free: 81.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005238/1.266, allocations: 3.256 MB / 0.8154 GB, free: 77.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007044/1.274, allocations: 2.022 MB / 0.8174 GB, free: 75.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.275, allocations: 251.4 kB / 0.8176 GB, free: 75.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/1.275, allocations: 8 kB / 0.8176 GB, free: 75.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.09668/1.372, allocations: 40.08 MB / 0.8568 GB, free: 36.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 7.677367012947798]