Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 78.19 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 153.7 kB / 24.81 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9773/0.9773, allocations: 173.3 MB / 201.4 MB, free: 9.246 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 268.4 MB, free: 6.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.461e-05, allocations: 2.312 kB / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002346/0.002361, allocations: 2.367 MB / 270.8 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006526/0.003013, allocations: 0.5726 MB / 271.3 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.00311, allocations: 7.938 kB / 271.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.003225, allocations: 31.66 kB / 271.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.003327, allocations: 79.28 kB / 271.5 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.003477, allocations: 55.86 kB / 271.5 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.003669, allocations: 274.6 kB / 271.8 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.003793, allocations: 56.48 kB / 271.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.003944, allocations: 151.7 kB / 272 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.00404, allocations: 79.77 kB / 272.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.004066, allocations: 20 kB / 272.1 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.554e-05/0.004091, allocations: 16 kB / 272.1 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.004124, allocations: 51.77 kB / 272.1 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.004178, allocations: 79.83 kB / 272.2 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.00434, allocations: 167.3 kB / 272.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004342, allocations: 0 / 272.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004342, allocations: 0 / 272.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.004346, allocations: 0 / 272.4 MB, free: 2.219 MB / 250.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.0004168/0.004763, allocations: 0.539 MB / 272.9 MB, free: 1.645 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.004794, allocations: 12.03 kB / 272.9 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.004839, allocations: 44.69 kB / 273 MB, free: 1.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.004985, allocations: 177 kB / 273.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.004997, allocations: 20.81 kB / 273.2 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.005027, allocations: 32.31 kB / 273.2 MB, free: 1.332 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.005199, allocations: 177.7 kB / 273.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.005209, allocations: 192 / 273.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.005221, allocations: 8.375 kB / 273.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.005227, allocations: 7.938 kB / 273.4 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.184e-05/0.005299, allocations: 67.36 kB / 273.5 MB, free: 1.062 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.005837, allocations: 0.6379 MB / 274.1 MB, free: 400 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.005953, allocations: 111 kB / 274.2 MB, free: 276 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.005994, allocations: 39.66 kB / 274.2 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.006013, allocations: 4 kB / 274.2 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.00603, allocations: 37.39 kB / 274.3 MB, free: 180 kB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 9.82e-07/0.006031, allocations: 4 kB / 274.3 MB, free: 176 kB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006754/0.006707, allocations: 0.5743 MB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.006731, allocations: 59.41 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.006829, allocations: 221.8 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.00684, allocations: 33.7 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.006908, allocations: 195.1 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.006948, allocations: 83.22 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.007, allocations: 51.34 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.007111, allocations: 0.5156 MB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.045e-05/0.007141, allocations: 23.97 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.728e-05/0.007199, allocations: 82.36 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.007304, allocations: 127 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.007305, allocations: 0 / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001884/0.007493, allocations: 200.9 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.007504, allocations: 4 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007508, allocations: 0 / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.907e-05/0.007607, allocations: 35.59 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.007724, allocations: 56.03 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007635/0.008488, allocations: 1.776 MB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.008541, allocations: 8 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.00855, allocations: 7.938 kB / 278.3 MB, free: 11.85 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 7.583e-05/0.008626, allocations: 172.5 kB / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.008655, allocations: 35.8 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.008678, allocations: 22 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.00868, allocations: 4 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.008682, allocations: 0 / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.008685, allocations: 3.984 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.009125, allocations: 0.5301 MB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.009126, allocations: 0 / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.009238, allocations: 43.92 kB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-05/0.00931, allocations: 31.72 kB / 279.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.009321, allocations: 8 kB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007268/0.01005, allocations: 1.791 MB / 281 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01005, allocations: 0 / 281 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.01029, allocations: 377.9 kB / 281.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.01031, allocations: 19.84 kB / 281.3 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.01032, allocations: 8 kB / 281.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.617e-05/0.01038, allocations: 0 / 281.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.01041, allocations: 27.89 kB / 281.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.01042, allocations: 4 kB / 281.4 MB, free: 8.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.01047, allocations: 156.1 kB / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01047, allocations: 0 / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000196/0.01066, allocations: 60 kB / 281.6 MB, free: 8.359 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 7.026e-05/0.01073, allocations: 107.1 kB / 281.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.01099, allocations: 301.3 kB / 282 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01099, allocations: 0 / 282 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.01113, allocations: 245.4 kB / 282.2 MB, free: 7.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.01137, allocations: 48.22 kB / 282.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/0.0121, allocations: 0.568 MB / 282.8 MB, free: 7.012 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.757e-05/0.01215, allocations: 88.25 kB / 282.9 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.579e-05/0.0122, allocations: 25.94 kB / 283 MB, free: 6.883 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.01228, allocations: 106.2 kB / 283.1 MB, free: 6.777 MB / 266.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01228, allocations: 3.938 kB / 283.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of Templates: time 0.004072/0.01636, allocations: 2.692 MB / 285.8 MB, free: 4.125 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.551368244923651]