Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.001114/0.001114, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.004254/0.004254, allocations: 171.5 kB / 24.91 MB, free: 9.227 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.9556/0.9556, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 273.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.463e-05, allocations: 2.312 kB / 273.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003061/0.003076, allocations: 3.098 MB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.00441, allocations: 0.814 MB / 277.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.004571, allocations: 7.938 kB / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.004719, allocations: 51.5 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.004891, allocations: 130.9 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.005161, allocations: 127.7 kB / 277.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.005502, allocations: 474 kB / 278.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.005661, allocations: 94.09 kB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.005958, allocations: 267.4 kB / 278.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.006124, allocations: 155.5 kB / 278.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.006169, allocations: 44 kB / 278.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.791e-05/0.006207, allocations: 48 kB / 278.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.006261, allocations: 87.67 kB / 278.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.571e-05/0.006357, allocations: 139.7 kB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.006603, allocations: 279 kB / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.006605, allocations: 0 / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006606, allocations: 0 / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.00661, allocations: 0 / 279.3 MB, free: 11.42 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006538/0.007264, allocations: 0.5989 MB / 279.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.007294, allocations: 12.03 kB / 279.9 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.007349, allocations: 48.89 kB / 280 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.007591, allocations: 204.7 kB / 280.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.00761, allocations: 21.03 kB / 280.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.007645, allocations: 32.33 kB / 280.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.007938, allocations: 309.7 kB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.007948, allocations: 4.125 kB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.007967, allocations: 15.94 kB / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.007975, allocations: 8 kB / 280.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.691e-05/0.008072, allocations: 68.56 kB / 280.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.008985, allocations: 0.889 MB / 281.5 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.009112, allocations: 98.45 kB / 281.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.009157, allocations: 36.83 kB / 281.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.009169, allocations: 0 / 281.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.009326, allocations: 165.3 kB / 281.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.009327, allocations: 0 / 281.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005252/0.009852, allocations: 282.1 kB / 282.1 MB, free: 8.453 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.009896, allocations: 102.8 kB / 282.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.01004, allocations: 260.8 kB / 282.4 MB, free: 8.062 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.01006, allocations: 29.7 kB / 282.5 MB, free: 8.027 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.01014, allocations: 196.8 kB / 282.7 MB, free: 7.832 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.01018, allocations: 59.45 kB / 282.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.01023, allocations: 49.69 kB / 282.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.809e-05/0.01032, allocations: 342.8 kB / 283.1 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.112e-05/0.01037, allocations: 53.69 kB / 283.1 MB, free: 7.316 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.01047, allocations: 197.1 kB / 283.3 MB, free: 7.062 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.01061, allocations: 190.6 kB / 283.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01062, allocations: 0 / 283.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002663/0.01088, allocations: 273.5 kB / 283.8 MB, free: 6.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.01091, allocations: 33.7 kB / 283.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.01091, allocations: 0 / 283.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.01113, allocations: 81.14 kB / 283.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.01126, allocations: 51.91 kB / 284 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008464/0.0121, allocations: 1.469 MB / 285.4 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.01222, allocations: 43.86 kB / 285.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.01224, allocations: 8 kB / 285.5 MB, free: 4.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 8.347e-05/0.01232, allocations: 144.5 kB / 285.6 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.01234, allocations: 19.98 kB / 285.6 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.01237, allocations: 29.77 kB / 285.7 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-07/0.01237, allocations: 0 / 285.7 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.42e-07/0.01237, allocations: 0 / 285.7 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01238, allocations: 0 / 285.7 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.01248, allocations: 157.7 kB / 285.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01248, allocations: 0 / 285.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/0.01257, allocations: 39.91 kB / 285.9 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001426/0.01272, allocations: 68.75 kB / 285.9 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.01272, allocations: 7.984 kB / 285.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007186/0.01344, allocations: 1.28 MB / 287.2 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01344, allocations: 0 / 287.2 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.01367, allocations: 201.8 kB / 287.4 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.0137, allocations: 19.8 kB / 287.4 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.01372, allocations: 11.92 kB / 287.4 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.0138, allocations: 23.98 kB / 287.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.01385, allocations: 19.95 kB / 287.5 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.01385, allocations: 7.938 kB / 287.5 MB, free: 2.617 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.01392, allocations: 86.77 kB / 287.6 MB, free: 2.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01392, allocations: 4.031 kB / 287.6 MB, free: 2.523 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.01411, allocations: 87.84 kB / 287.7 MB, free: 2.438 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: 3 ($whenCondition1,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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 7.359e-05/0.01419, allocations: 92.39 kB / 287.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.01447, allocations: 315.4 kB / 288.1 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.01448, allocations: 4.688 kB / 288.1 MB, free: 1.992 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.01459, allocations: 171.3 kB / 288.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.01475, allocations: 52.7 kB / 288.3 MB, free: 1.762 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007244/0.01547, allocations: 0.5278 MB / 288.8 MB, free: 1.211 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.463e-05/0.01552, allocations: 88.31 kB / 288.9 MB, free: 1.105 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.871e-05/0.01559, allocations: 34.25 kB / 288.9 MB, free: 1.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.01571, allocations: 103.3 kB / 289 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01571, allocations: 0 / 289 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of Templates: time 0.005989/0.0217, allocations: 4.668 MB / 293.7 MB, free: 12.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6938405269756913]