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.0009112/0.0009112, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.000976/0.000976, allocations: 161.2 kB / 24.91 MB, free: 9.199 MB / 18.57 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 0.9675/0.9675, allocations: 177 MB / 205.2 MB, free: 5.48 MB / 186.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 8.01e-07/8.01e-07, allocations: 0 / 273.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.322e-05, allocations: 6.25 kB / 273.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003082/0.003096, allocations: 3.122 MB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.004466, allocations: 0.7711 MB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.004629, allocations: 11.94 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.004774, allocations: 59.38 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.004964, allocations: 123 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.00522, allocations: 119.7 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.005591, allocations: 473.8 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.005751, allocations: 98.08 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.006058, allocations: 267.3 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.006224, allocations: 155.5 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.006268, allocations: 47.98 kB / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.999e-05/0.006308, allocations: 44 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.006359, allocations: 87.67 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.006453, allocations: 135.7 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.006737, allocations: 287 kB / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.006741, allocations: 7.984 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.006742, allocations: 0 / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.006747, allocations: 0 / 279.2 MB, free: 11.36 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0006737/0.007421, allocations: 0.5988 MB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.00745, allocations: 8.031 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.007516, allocations: 52.91 kB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.007742, allocations: 204.7 kB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.007759, allocations: 25.03 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.007794, allocations: 32.31 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.00807, allocations: 288.4 kB / 280.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.008079, allocations: 4.125 kB / 280.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.008097, allocations: 15.92 kB / 280.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.008104, allocations: 8 kB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.008204, allocations: 76.56 kB / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009374/0.009142, allocations: 0.8408 MB / 281.4 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.009252, allocations: 86.48 kB / 281.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.009292, allocations: 32.84 kB / 281.5 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.009311, allocations: 4 kB / 281.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.009474, allocations: 206.6 kB / 281.7 MB, free: 8.711 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 2.445e-06/0.009477, allocations: 3.984 kB / 281.7 MB, free: 8.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004858/0.009962, allocations: 230.5 kB / 281.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.01001, allocations: 136.5 kB / 282.1 MB, free: 8.309 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.0102, allocations: 256.8 kB / 282.3 MB, free: 8.047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.01023, allocations: 33.69 kB / 282.3 MB, free: 8.008 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.01035, allocations: 196.8 kB / 282.5 MB, free: 7.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.0104, allocations: 63.5 kB / 282.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.01047, allocations: 61.62 kB / 282.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.01056, allocations: 334.8 kB / 283 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.35e-05/0.01061, allocations: 53.97 kB / 283 MB, free: 7.285 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.01072, allocations: 235.8 kB / 283.3 MB, free: 6.988 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.01086, allocations: 186.8 kB / 283.4 MB, free: 6.766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01086, allocations: 0 / 283.4 MB, free: 6.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000286/0.01115, allocations: 271.1 kB / 283.7 MB, free: 6.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.01118, allocations: 33.7 kB / 283.7 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.01119, allocations: 7.984 kB / 283.8 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/0.01141, allocations: 68.8 kB / 283.8 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.01155, allocations: 67.92 kB / 283.9 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009112/0.01247, allocations: 1.368 MB / 285.3 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.01259, allocations: 51.78 kB / 285.3 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.01261, allocations: 12 kB / 285.3 MB, free: 4.77 MB / 266.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 8.144e-05/0.01269, allocations: 129.7 kB / 285.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.01272, allocations: 23.97 kB / 285.5 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.01275, allocations: 26.12 kB / 285.5 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01275, allocations: 4 kB / 285.5 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.01275, allocations: 3.938 kB / 285.5 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01275, allocations: 3.984 kB / 285.5 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.01289, allocations: 177.6 kB / 285.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01289, allocations: 0 / 285.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.01298, allocations: 27.97 kB / 285.7 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001712/0.01315, allocations: 72.73 kB / 285.8 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.01316, allocations: 7.984 kB / 285.8 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007291/0.01389, allocations: 1.36 MB / 287.1 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01389, allocations: 0 / 287.1 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.01412, allocations: 208.4 kB / 287.3 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.01414, allocations: 31.81 kB / 287.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.01416, allocations: 0 / 287.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.01424, allocations: 27.97 kB / 287.4 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.01429, allocations: 27.95 kB / 287.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.0143, allocations: 0 / 287.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.351e-05/0.01436, allocations: 94.75 kB / 287.5 MB, free: 2.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01436, allocations: 0 / 287.5 MB, free: 2.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.01456, allocations: 95.78 kB / 287.6 MB, free: 2.32 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 8.394e-05/0.01464, allocations: 88.36 kB / 287.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.01492, allocations: 322.6 kB / 288 MB, free: 1.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.01493, allocations: 4 kB / 288 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.01506, allocations: 195.8 kB / 288.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.01522, allocations: 65.16 kB / 288.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009202/0.01614, allocations: 0.5906 MB / 288.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.532e-05/0.01618, allocations: 88.62 kB / 289 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.574e-05/0.01626, allocations: 26.97 kB / 289 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.01638, allocations: 111.3 kB / 289.1 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01638, allocations: 0 / 289.1 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of Templates: time 0.006235/0.02262, allocations: 4.972 MB / 294.1 MB, free: 11.85 MB / 282.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6150094904005527]