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.0009444/0.0009444, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.0009659/0.0009659, allocations: 168.7 kB / 24.82 MB, free: 8.391 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.9223/0.9223, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.693e-06/1.693e-06, allocations: 3.938 kB / 273.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.028e-05, allocations: 10.25 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003649/0.003669, allocations: 2.374 MB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004889, allocations: 0.6386 MB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.005041, allocations: 7.938 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.005201, allocations: 31.66 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.005368, allocations: 71.3 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.005662, allocations: 67.83 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.005979, allocations: 274.6 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.006145, allocations: 60.55 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.006431, allocations: 155.6 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.006571, allocations: 79.78 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.006607, allocations: 27.92 kB / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-05/0.006677, allocations: 20 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.006721, allocations: 51.77 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.48e-05/0.006806, allocations: 75.83 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.007067, allocations: 167.4 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.007069, allocations: 3.938 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.00707, allocations: 0 / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.007074, allocations: 4 kB / 277.5 MB, free: 13.22 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.000615/0.007689, allocations: 0.5429 MB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.007731, allocations: 11.97 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.00789, allocations: 48.78 kB / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.008116, allocations: 188.9 kB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.008136, allocations: 12.88 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.008175, allocations: 24.38 kB / 278.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.008444, allocations: 181.7 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.00846, allocations: 4.141 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.008477, allocations: 8.375 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.008486, allocations: 7.938 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.008615, allocations: 75.34 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008602/0.009475, allocations: 0.634 MB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.009681, allocations: 111 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.425e-05/0.009756, allocations: 43.59 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.009781, allocations: 8 kB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.009813, allocations: 41.39 kB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.033e-06/0.009815, allocations: 0 / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001101/0.01092, allocations: 0.5782 MB / 280 MB, free: 10.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.01096, allocations: 59.41 kB / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.01111, allocations: 221.8 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.01113, allocations: 33.7 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.01123, allocations: 183.2 kB / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.0113, allocations: 103.1 kB / 280.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.01138, allocations: 55.34 kB / 280.6 MB, free: 9.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.01154, allocations: 0.5 MB / 281.1 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.918e-05/0.0116, allocations: 23.97 kB / 281.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.846e-05/0.01169, allocations: 86.31 kB / 281.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.01184, allocations: 121 kB / 281.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01184, allocations: 0 / 281.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003067/0.01215, allocations: 189.7 kB / 281.5 MB, free: 8.848 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.01217, allocations: 11.94 kB / 281.5 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.01217, allocations: 0 / 281.5 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/0.01231, allocations: 35.59 kB / 281.6 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.01248, allocations: 51.91 kB / 281.6 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.01362, allocations: 1.792 MB / 283.4 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.01369, allocations: 11.98 kB / 283.4 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.0137, allocations: 4 kB / 283.4 MB, free: 6.82 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 8.298e-05/0.01378, allocations: 172.5 kB / 283.6 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.01382, allocations: 27.84 kB / 283.6 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.01384, allocations: 21.97 kB / 283.6 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01385, allocations: 4 kB / 283.7 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01385, allocations: 4.031 kB / 283.7 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01385, allocations: 3.984 kB / 283.7 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.01431, allocations: 0.5301 MB / 284.2 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01432, allocations: 0 / 284.2 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.01443, allocations: 43.91 kB / 284.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.639e-05/0.01451, allocations: 31.67 kB / 284.3 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.01452, allocations: 8.062 kB / 284.3 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006721/0.01519, allocations: 1.792 MB / 286.1 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01519, allocations: 0 / 286.1 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.01544, allocations: 371 kB / 286.4 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.01546, allocations: 15.91 kB / 286.4 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.01547, allocations: 8.031 kB / 286.5 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.01553, allocations: 11.98 kB / 286.5 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.01556, allocations: 23.84 kB / 286.5 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.01557, allocations: 8 kB / 286.5 MB, free: 3.547 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.207e-05/0.01562, allocations: 156.7 kB / 286.6 MB, free: 3.395 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01562, allocations: 0 / 286.6 MB, free: 3.395 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.01581, allocations: 56 kB / 286.7 MB, free: 3.34 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.987e-05/0.01589, allocations: 103.2 kB / 286.8 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002534/0.01614, allocations: 306.1 kB / 287.1 MB, free: 2.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01614, allocations: 4 kB / 287.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.01628, allocations: 245.4 kB / 287.3 MB, free: 2.645 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.01652, allocations: 50.48 kB / 287.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/0.01727, allocations: 0.6063 MB / 288 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.552e-05/0.01731, allocations: 80.33 kB / 288.1 MB, free: 1.859 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.091e-05/0.01737, allocations: 21.94 kB / 288.1 MB, free: 1.836 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.01746, allocations: 102.2 kB / 288.2 MB, free: 1.734 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01746, allocations: 4 kB / 288.2 MB, free: 1.73 MB / 266.7 MB Notification: Performance of Templates: time 0.004233/0.02169, allocations: 2.687 MB / 290.9 MB, free: 15.09 MB / 282.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 -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.4645279929973185]