Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00162/0.002692, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008287/0.0008287, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000983/0.001812, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.061/1.061, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0953/1.156, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.633e-05, allocations: 6.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003181/0.003207, allocations: 3.137 MB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.004603, allocations: 0.7867 MB / 249.2 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.004761, allocations: 4 kB / 249.2 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.004891, allocations: 59.38 kB / 249.2 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.005082, allocations: 127 kB / 249.4 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.005289, allocations: 107.8 kB / 249.5 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.005612, allocations: 473.8 kB / 249.9 MB, free: 8.828 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.005771, allocations: 102.1 kB / 250 MB, free: 8.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.006118, allocations: 307.7 kB / 250.3 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.006283, allocations: 151.5 kB / 250.5 MB, free: 8.281 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.006327, allocations: 48 kB / 250.5 MB, free: 8.234 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-05/0.006371, allocations: 47.94 kB / 250.6 MB, free: 8.188 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.006427, allocations: 63.81 kB / 250.6 MB, free: 8.125 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.006533, allocations: 119.8 kB / 250.7 MB, free: 8.008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.006806, allocations: 263.1 kB / 251 MB, free: 7.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.46e-05/0.006821, allocations: 0 / 251 MB, free: 7.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.006823, allocations: 0 / 251 MB, free: 7.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.006835, allocations: 0 / 251 MB, free: 7.75 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0008526/0.007688, allocations: 0.6649 MB / 251.7 MB, free: 7.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.007725, allocations: 12.03 kB / 251.7 MB, free: 7.043 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.007799, allocations: 52.89 kB / 251.7 MB, free: 6.992 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.008096, allocations: 200.7 kB / 251.9 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.008119, allocations: 21.03 kB / 251.9 MB, free: 6.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.008168, allocations: 28.38 kB / 252 MB, free: 6.727 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.008509, allocations: 292.4 kB / 252.3 MB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.008519, allocations: 4.188 kB / 252.3 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.008543, allocations: 15.94 kB / 252.3 MB, free: 6.391 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.008552, allocations: 8 kB / 252.3 MB, free: 6.383 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.008686, allocations: 72.5 kB / 252.4 MB, free: 6.316 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.01001, allocations: 0.8525 MB / 253.2 MB, free: 5.398 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.01014, allocations: 78.55 kB / 253.3 MB, free: 5.312 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.0102, allocations: 40.83 kB / 253.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.01022, allocations: 0 / 253.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.01043, allocations: 219.7 kB / 253.5 MB, free: 5.016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/0.01044, allocations: 3.984 kB / 253.5 MB, free: 5.012 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006054/0.01104, allocations: 233.4 kB / 253.8 MB, free: 4.777 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.01108, allocations: 55.41 kB / 253.8 MB, free: 4.711 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.01127, allocations: 256.9 kB / 254.1 MB, free: 4.449 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.0113, allocations: 29.7 kB / 254.1 MB, free: 4.414 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.0114, allocations: 200.7 kB / 254.3 MB, free: 4.211 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.01144, allocations: 59.52 kB / 254.4 MB, free: 4.152 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/0.01152, allocations: 57.62 kB / 254.4 MB, free: 4.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.01161, allocations: 342.8 kB / 254.8 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/0.01168, allocations: 57.95 kB / 254.8 MB, free: 3.684 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.01181, allocations: 231.8 kB / 255 MB, free: 3.391 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.01199, allocations: 186.9 kB / 255.2 MB, free: 3.168 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.012, allocations: 0 / 255.2 MB, free: 3.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003624/0.01236, allocations: 278.5 kB / 255.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.0124, allocations: 33.7 kB / 255.5 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.0124, allocations: 4 kB / 255.5 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002829/0.01269, allocations: 81.03 kB / 255.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.01287, allocations: 55.91 kB / 255.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.01399, allocations: 1.381 MB / 257 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.01418, allocations: 39.83 kB / 257.1 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.0142, allocations: 11.94 kB / 257.1 MB, free: 1.172 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,derivative.opAmp.satNeg,derivative.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.0143, allocations: 133.7 kB / 257.2 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.01433, allocations: 23.98 kB / 257.2 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.01437, allocations: 30.05 kB / 257.3 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01437, allocations: 4 kB / 257.3 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.01438, allocations: 4 kB / 257.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01438, allocations: 0 / 257.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.01455, allocations: 169.6 kB / 257.4 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01455, allocations: 0 / 257.4 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.01467, allocations: 27.97 kB / 257.5 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.0147, allocations: 27.75 kB / 257.5 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/0.01493, allocations: 76.77 kB / 257.6 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.01494, allocations: 8 kB / 257.6 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009257/0.01587, allocations: 1.36 MB / 258.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.01587, allocations: 7.969 kB / 259 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.01616, allocations: 209.6 kB / 259.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.01619, allocations: 8 kB / 259.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.0163, allocations: 19.97 kB / 259.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.01636, allocations: 27.95 kB / 259.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.01637, allocations: 4 kB / 259.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.514e-05/0.01646, allocations: 82.78 kB / 259.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01646, allocations: 4.031 kB / 259.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.01675, allocations: 95.83 kB / 259.4 MB, free: 14.72 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 5 ($whenCondition1,derivative.opAmp.satPos,derivative.opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001166/0.01687, allocations: 84.41 kB / 259.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004904/0.01736, allocations: 346.3 kB / 259.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/0.01737, allocations: 4 kB / 259.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.01756, allocations: 199.4 kB / 260 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.01796, allocations: 0.5508 MB / 260.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.02049, allocations: 0.5829 MB / 261.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.135e-05/0.02055, allocations: 92.61 kB / 261.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.02066, allocations: 26.97 kB / 261.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.02084, allocations: 115.3 kB / 261.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02085, allocations: 0 / 261.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of Templates: time 0.008931/0.02978, allocations: 5.328 MB / 266.7 MB, free: 7.277 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7129543041810393]