Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.0009117/0.0009117, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.000899/0.000899, allocations: 172.2 kB / 24.92 MB, free: 9.113 MB / 18.57 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 0.9246/0.9246, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.016e-05, allocations: 2.312 kB / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003498/0.003518, allocations: 2.421 MB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.004671, allocations: 0.6463 MB / 276.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.004806, allocations: 7.938 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.004946, allocations: 39.64 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.0051, allocations: 79.28 kB / 276.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.005318, allocations: 67.84 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.0056, allocations: 266.6 kB / 277 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.005747, allocations: 70.48 kB / 277.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.00597, allocations: 159.5 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.006074, allocations: 75.78 kB / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.006097, allocations: 20 kB / 277.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.335e-05/0.006161, allocations: 27.98 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.006188, allocations: 47.77 kB / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.006241, allocations: 83.83 kB / 277.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.00642, allocations: 171.3 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.006422, allocations: 0 / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006423, allocations: 0 / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.768e-06/0.006427, allocations: 0 / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0003755/0.006802, allocations: 428.2 kB / 278.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.629e-05/0.006828, allocations: 12.03 kB / 278.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.871e-05/0.006927, allocations: 40.91 kB / 278.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.007082, allocations: 174.1 kB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.007095, allocations: 16.88 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.007122, allocations: 20.36 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.007283, allocations: 176 kB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.007295, allocations: 8.125 kB / 278.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.007306, allocations: 8.375 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.007313, allocations: 11.94 kB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.007378, allocations: 51.45 kB / 278.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.007841, allocations: 474.5 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.007949, allocations: 102.4 kB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.007984, allocations: 33.14 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.007999, allocations: 7.984 kB / 279.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.008015, allocations: 34.52 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.008016, allocations: 0 / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007271/0.008743, allocations: 0.5666 MB / 279.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.008767, allocations: 55.41 kB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.158e-05/0.008848, allocations: 174.5 kB / 280 MB, free: 10.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.008859, allocations: 29.7 kB / 280 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.008906, allocations: 140.3 kB / 280.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.008946, allocations: 99.12 kB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.008989, allocations: 45.69 kB / 280.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.009067, allocations: 350.7 kB / 280.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.009094, allocations: 19.98 kB / 280.7 MB, free: 9.863 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-05/0.00914, allocations: 60.25 kB / 280.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.823e-05/0.009228, allocations: 106.8 kB / 280.8 MB, free: 9.672 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.009229, allocations: 0 / 280.8 MB, free: 9.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001576/0.009386, allocations: 159 kB / 281 MB, free: 9.508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.009397, allocations: 4 kB / 281 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.009401, allocations: 0 / 281 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.663e-05/0.009487, allocations: 36.75 kB / 281 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.009619, allocations: 59.09 kB / 281.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006253/0.01024, allocations: 1.225 MB / 282.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.561e-05/0.0103, allocations: 8 kB / 282.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.01031, allocations: 12 kB / 282.3 MB, free: 8.078 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.545e-05/0.01038, allocations: 117.8 kB / 282.4 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.0104, allocations: 19.92 kB / 282.5 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.01043, allocations: 29.95 kB / 282.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01043, allocations: 4 kB / 282.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01043, allocations: 0 / 282.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01044, allocations: 4.031 kB / 282.5 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.01082, allocations: 416 kB / 282.9 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01082, allocations: 0 / 282.9 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.01094, allocations: 47.2 kB / 283 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.049e-05/0.01101, allocations: 36.95 kB / 283 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.01102, allocations: 8.062 kB / 283 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005524/0.01157, allocations: 1.225 MB / 284.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01157, allocations: 0 / 284.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.01178, allocations: 291 kB / 284.5 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.01179, allocations: 15.84 kB / 284.5 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.01181, allocations: 11.98 kB / 284.5 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.631e-05/0.01186, allocations: 8.031 kB / 284.5 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.01189, allocations: 15.97 kB / 284.6 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.0119, allocations: 12 kB / 284.6 MB, free: 5.676 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.247e-05/0.01193, allocations: 46.38 kB / 284.6 MB, free: 5.629 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01193, allocations: 7.938 kB / 284.6 MB, free: 5.621 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000181/0.01212, allocations: 56 kB / 284.7 MB, free: 5.566 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.89e-05/0.01218, allocations: 80.42 kB / 284.8 MB, free: 5.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.01241, allocations: 243.3 kB / 285 MB, free: 5.227 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.01242, allocations: 4 kB / 285 MB, free: 5.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.01255, allocations: 194.3 kB / 285.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.01274, allocations: 42.03 kB / 285.2 MB, free: 4.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.01341, allocations: 0.5181 MB / 285.7 MB, free: 4.426 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.621e-05/0.01346, allocations: 88.31 kB / 285.8 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.727e-05/0.01351, allocations: 21.94 kB / 285.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.01359, allocations: 87.34 kB / 285.9 MB, free: 4.215 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01359, allocations: 0 / 285.9 MB, free: 4.215 MB / 266.7 MB Notification: Performance of Templates: time 0.004146/0.01774, allocations: 2.692 MB / 288.6 MB, free: 1.566 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.463689373806119]