Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.0009513/0.0009513, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001044/0.001044, allocations: 141.7 kB / 24.89 MB, free: 8.777 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.9556/0.9556, allocations: 173.4 MB / 201.5 MB, free: 8.766 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.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 268.6 MB, free: 5.949 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.25e-05, allocations: 2.312 kB / 268.6 MB, free: 5.945 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002823/0.002835, allocations: 3.087 MB / 271.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.003887, allocations: 0.779 MB / 272.4 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.004006, allocations: 4 kB / 272.4 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.004137, allocations: 55.44 kB / 272.5 MB, free: 2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.004293, allocations: 123 kB / 272.6 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.004523, allocations: 127.8 kB / 272.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.004835, allocations: 470 kB / 273.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.00498, allocations: 110 kB / 273.3 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.005237, allocations: 255.4 kB / 273.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.005387, allocations: 151.6 kB / 273.7 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/0.005429, allocations: 48 kB / 273.7 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.663e-05/0.005465, allocations: 44 kB / 273.8 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.005516, allocations: 87.67 kB / 273.9 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.005606, allocations: 139.7 kB / 274 MB, free: 484 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.005838, allocations: 286.9 kB / 274.3 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.00584, allocations: 0 / 274.3 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005841, allocations: 0 / 274.3 MB, free: 196 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.005844, allocations: 0 / 274.3 MB, free: 196 kB / 250.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.0006311/0.006475, allocations: 0.5951 MB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.636e-05/0.006502, allocations: 8.031 kB / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.006559, allocations: 48.89 kB / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.006754, allocations: 200.7 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.006771, allocations: 21.03 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.006802, allocations: 32.38 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.007084, allocations: 305.7 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.007093, allocations: 192 / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.00711, allocations: 11.94 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.007116, allocations: 8 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.007219, allocations: 80.48 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008858/0.008105, allocations: 0.8889 MB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.008227, allocations: 98.53 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.008265, allocations: 28.84 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.008279, allocations: 7.938 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.008402, allocations: 176.9 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 9.12e-07/0.008403, allocations: 0 / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005217/0.008925, allocations: 278.1 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.008966, allocations: 106.8 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.009104, allocations: 248.9 kB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.009121, allocations: 33.7 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.009193, allocations: 200.7 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.009222, allocations: 51.58 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.009277, allocations: 53.67 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.00935, allocations: 338.8 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.583e-05/0.009396, allocations: 49.69 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.722e-05/0.009493, allocations: 205 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.009619, allocations: 179.8 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.009621, allocations: 0 / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000265/0.009886, allocations: 276.3 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.00991, allocations: 37.69 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.009918, allocations: 4.344 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.01011, allocations: 72.81 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.01025, allocations: 55.91 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000813/0.01106, allocations: 1.461 MB / 280.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.01118, allocations: 47.8 kB / 280.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.0112, allocations: 12 kB / 280.4 MB, free: 9.547 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 7.948e-05/0.01128, allocations: 129.8 kB / 280.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.0113, allocations: 23.97 kB / 280.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.01133, allocations: 29.77 kB / 280.6 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01133, allocations: 0 / 280.6 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.01133, allocations: 0 / 280.6 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01133, allocations: 0 / 280.6 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.01146, allocations: 161.6 kB / 280.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01146, allocations: 0 / 280.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.833e-05/0.01155, allocations: 39.91 kB / 280.8 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000147/0.0117, allocations: 68.81 kB / 280.9 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.0117, allocations: 0 / 280.9 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006562/0.01236, allocations: 1.292 MB / 282.2 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01236, allocations: 0 / 282.2 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.0126, allocations: 209.2 kB / 282.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.01263, allocations: 15.86 kB / 282.4 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.01265, allocations: 11.94 kB / 282.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.01273, allocations: 15.98 kB / 282.4 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.01278, allocations: 23.95 kB / 282.4 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-06/0.01279, allocations: 0 / 282.4 MB, free: 7.406 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.944e-05/0.01287, allocations: 94.75 kB / 282.5 MB, free: 7.309 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01287, allocations: 4.031 kB / 282.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.01309, allocations: 91.78 kB / 282.6 MB, free: 7.215 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 6.808e-05/0.01316, allocations: 92.33 kB / 282.7 MB, free: 7.117 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.01344, allocations: 312.3 kB / 283 MB, free: 6.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.01344, allocations: 0.6875 kB / 283 MB, free: 6.777 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.01356, allocations: 187.2 kB / 283.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.01371, allocations: 54.03 kB / 283.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.01443, allocations: 0.5048 MB / 283.8 MB, free: 5.996 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.469e-05/0.01447, allocations: 92.25 kB / 283.8 MB, free: 5.887 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.054e-05/0.01454, allocations: 30.27 kB / 283.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.01467, allocations: 103.3 kB / 284 MB, free: 5.758 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01467, allocations: 0 / 284 MB, free: 5.758 MB / 266.7 MB Notification: Performance of Templates: time 0.00591/0.02058, allocations: 4.668 MB / 288.6 MB, free: 1.172 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.735884597990662]