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.001035/0.001035, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001314/0.001314, allocations: 141.9 kB / 24.97 MB, free: 8.359 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 1.078/1.078, allocations: 173.4 MB / 201.5 MB, free: 9.344 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.403e-06/1.403e-06, allocations: 3.938 kB / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.21e-05, allocations: 2.312 kB / 268.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003365/0.003387, allocations: 3.079 MB / 271.2 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.004777, allocations: 0.7442 MB / 271.9 MB, free: 2.852 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.004975, allocations: 11.94 kB / 272 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.00514, allocations: 51.5 kB / 272 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.00533, allocations: 130.9 kB / 272.1 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.005649, allocations: 123.8 kB / 272.2 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.006087, allocations: 474 kB / 272.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.006274, allocations: 99.42 kB / 272.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.006589, allocations: 263.4 kB / 273.1 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.006757, allocations: 139.6 kB / 273.2 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.006809, allocations: 47.94 kB / 273.2 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.285e-05/0.006852, allocations: 48 kB / 273.3 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.006913, allocations: 87.67 kB / 273.4 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.007027, allocations: 139.7 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.007346, allocations: 291 kB / 273.8 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.00735, allocations: 0 / 273.8 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.007351, allocations: 0 / 273.8 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.007357, allocations: 0 / 273.8 MB, free: 0.9805 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009587/0.008316, allocations: 0.712 MB / 274.5 MB, free: 228 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.008355, allocations: 12.03 kB / 274.5 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.008458, allocations: 60.7 kB / 274.6 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.008796, allocations: 251.5 kB / 274.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.008819, allocations: 25.02 kB / 274.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.008863, allocations: 28.38 kB / 274.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.009299, allocations: 323.4 kB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.00931, allocations: 4.188 kB / 275.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.009334, allocations: 15.94 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.009347, allocations: 8 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.009543, allocations: 115.8 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.01084, allocations: 1.135 MB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.01104, allocations: 111 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.257e-05/0.01111, allocations: 51.64 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.01114, allocations: 4 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.01133, allocations: 183.5 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.01133, allocations: 0 / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001231/0.01256, allocations: 324.2 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.01263, allocations: 110.8 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.0129, allocations: 324.1 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.01293, allocations: 29.7 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.01306, allocations: 259 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.0131, allocations: 51.59 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.01319, allocations: 59.36 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.01333, allocations: 0.5001 MB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.01343, allocations: 65.62 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.01362, allocations: 260.6 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.01386, allocations: 225.7 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01386, allocations: 0 / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005214/0.01438, allocations: 332.3 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.01442, allocations: 37.7 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01443, allocations: 4 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.01476, allocations: 79.81 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.01494, allocations: 59.91 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.01644, allocations: 2.145 MB / 281.6 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.01663, allocations: 39.81 kB / 281.7 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.01666, allocations: 16 kB / 281.7 MB, free: 8.48 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 0.0001268/0.01678, allocations: 180.4 kB / 281.9 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.01682, allocations: 31.84 kB / 281.9 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.01686, allocations: 29.77 kB / 281.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01686, allocations: 0 / 281.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01686, allocations: 0 / 281.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01687, allocations: 4 kB / 281.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.01708, allocations: 228.4 kB / 282.2 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.01708, allocations: 3.984 kB / 282.2 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.01719, allocations: 23.98 kB / 282.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.01741, allocations: 79.7 kB / 282.3 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.01743, allocations: 8 kB / 282.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.01887, allocations: 1.889 MB / 284.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.01887, allocations: 3.938 kB / 284.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.01931, allocations: 267.6 kB / 284.4 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.01934, allocations: 19.8 kB / 284.4 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.01937, allocations: 8.062 kB / 284.4 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.01949, allocations: 27.97 kB / 284.5 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.01957, allocations: 20.16 kB / 284.5 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.01958, allocations: 8 kB / 284.5 MB, free: 5.465 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.01974, allocations: 217.1 kB / 284.7 MB, free: 5.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01974, allocations: 4 kB / 284.7 MB, free: 5.246 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003631/0.0201, allocations: 87.84 kB / 284.8 MB, free: 5.16 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 0.000126/0.02023, allocations: 103.2 kB / 284.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000489/0.02072, allocations: 404.2 kB / 285.3 MB, free: 4.617 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.02072, allocations: 0 / 285.3 MB, free: 4.617 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.02092, allocations: 237.4 kB / 285.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.02122, allocations: 61.08 kB / 285.6 MB, free: 4.305 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.02228, allocations: 0.5138 MB / 286.1 MB, free: 3.766 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.737e-05/0.02234, allocations: 88.25 kB / 286.2 MB, free: 3.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.02245, allocations: 26.28 kB / 286.2 MB, free: 3.637 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.0225, allocations: 28.5 kB / 286.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.0225, allocations: 0 / 286.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of Templates: time 0.00769/0.03019, allocations: 4.442 MB / 290.7 MB, free: 15.23 MB / 282.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 -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.7909821630455554]