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.002109/0.002109, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002403/0.002403, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 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.473/1.473, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
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 0.001576/0.001576, allocations: 47.92 kB / 371 MB, free: 9.336 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2848, allocations: 52.19 MB / 423.2 MB, free: 14.7 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005421/0.2903, allocations: 3.111 MB / 426.3 MB, free: 11.57 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00176/0.292, allocations: 0.7753 MB / 427 MB, free: 10.8 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.2922, allocations: 12 kB / 427 MB, free: 10.79 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.2924, allocations: 55.44 kB / 427.1 MB, free: 10.73 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.2926, allocations: 111.1 kB / 427.2 MB, free: 10.62 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.2929, allocations: 127.8 kB / 427.3 MB, free: 10.5 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005521/0.2935, allocations: 458.2 kB / 427.8 MB, free: 10.05 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.2937, allocations: 99.5 kB / 427.9 MB, free: 9.949 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.294, allocations: 187.3 kB / 428.1 MB, free: 9.766 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.2942, allocations: 183.3 kB / 428.2 MB, free: 9.586 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.654e-05/0.2943, allocations: 44 kB / 428.3 MB, free: 9.543 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.2944, allocations: 44 kB / 428.3 MB, free: 9.5 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.908e-05/0.2945, allocations: 87.69 kB / 428.4 MB, free: 9.414 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.2947, allocations: 199 kB / 428.6 MB, free: 9.219 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006012/0.2953, allocations: 495.3 kB / 429.1 MB, free: 8.738 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2953, allocations: 4 kB / 429.1 MB, free: 8.734 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.473e-06/0.2953, allocations: 0 / 429.1 MB, free: 8.734 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.975e-06/0.2953, allocations: 0 / 429.1 MB, free: 8.734 MB / 334.1 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.001661/0.297, allocations: 0.6393 MB / 429.7 MB, free: 8.055 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.297, allocations: 20.02 kB / 429.8 MB, free: 8.035 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.2971, allocations: 36.7 kB / 429.8 MB, free: 8 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.2977, allocations: 253 kB / 430 MB, free: 7.73 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.2977, allocations: 21.03 kB / 430.1 MB, free: 7.711 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.2978, allocations: 28.31 kB / 430.1 MB, free: 7.684 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008632/0.2986, allocations: 360.9 kB / 430.4 MB, free: 7.324 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2986, allocations: 0 / 430.4 MB, free: 7.324 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.2987, allocations: 15.94 kB / 430.5 MB, free: 7.309 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.2987, allocations: 4 kB / 430.5 MB, free: 7.305 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009534/0.2996, allocations: 306.4 kB / 430.8 MB, free: 7.004 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.3022, allocations: 1.237 MB / 432 MB, free: 5.684 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.3029, allocations: 210.4 kB / 432.2 MB, free: 5.469 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/0.3033, allocations: 108.8 kB / 432.3 MB, free: 5.359 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.3033, allocations: 11.97 kB / 432.3 MB, free: 5.348 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005759/0.3039, allocations: 189.8 kB / 432.5 MB, free: 5.141 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.3039, allocations: 0 / 432.5 MB, free: 5.141 MB / 334.1 MB
Notification: Performance of matching and sorting (n=15): time 0.002727/0.3066, allocations: 0.6144 MB / 433.1 MB, free: 4.52 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.3067, allocations: 102.8 kB / 433.2 MB, free: 4.395 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.3071, allocations: 296.2 kB / 433.5 MB, free: 4.102 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.216e-05/0.3071, allocations: 29.7 kB / 433.5 MB, free: 4.066 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3073, allocations: 212 kB / 433.7 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.3074, allocations: 55.53 kB / 433.8 MB, free: 3.797 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.3075, allocations: 53.66 kB / 433.8 MB, free: 3.738 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001882/0.3077, allocations: 342.8 kB / 434.2 MB, free: 3.395 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.3081, allocations: 111.9 kB / 434.3 MB, free: 3.285 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.3085, allocations: 207.9 kB / 434.5 MB, free: 3.039 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008033/0.3094, allocations: 323.7 kB / 434.8 MB, free: 2.68 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/0.3094, allocations: 8 kB / 434.8 MB, free: 2.672 MB / 334.1 MB
Notification: Performance of matching and sorting (n=31) (initialization): time 0.00139/0.3107, allocations: 486.4 kB / 435.3 MB, free: 2.184 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.3108, allocations: 41.62 kB / 435.3 MB, free: 2.137 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3108, allocations: 4 kB / 435.3 MB, free: 2.133 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004034/0.3112, allocations: 84.86 kB / 435.4 MB, free: 2.047 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.3115, allocations: 55.91 kB / 435.5 MB, free: 1.992 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.3145, allocations: 1.899 MB / 437.4 MB, free: 15.98 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.3149, allocations: 51.8 kB / 437.4 MB, free: 15.93 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.3149, allocations: 16 kB / 437.4 MB, free: 15.91 MB / 350.1 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.0002293/0.3151, allocations: 157.8 kB / 437.6 MB, free: 15.75 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.3152, allocations: 27.8 kB / 437.6 MB, free: 15.72 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.3152, allocations: 29.8 kB / 437.7 MB, free: 15.69 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3152, allocations: 3.938 kB / 437.7 MB, free: 15.69 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3153, allocations: 4 kB / 437.7 MB, free: 15.68 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3153, allocations: 0 / 437.7 MB, free: 15.68 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.3156, allocations: 308.6 kB / 438 MB, free: 15.34 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.3156, allocations: 4 kB / 438 MB, free: 15.34 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.3158, allocations: 31.97 kB / 438 MB, free: 15.3 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003137/0.3162, allocations: 84.8 kB / 438.1 MB, free: 15.22 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.3162, allocations: 0 / 438.1 MB, free: 15.22 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/0.3187, allocations: 1.717 MB / 439.8 MB, free: 13.38 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3187, allocations: 0 / 439.8 MB, free: 13.38 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.3204, allocations: 0.4935 MB / 440.3 MB, free: 12.87 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.3205, allocations: 27.95 kB / 440.3 MB, free: 12.84 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.3205, allocations: 4.125 kB / 440.3 MB, free: 12.84 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.3208, allocations: 39.95 kB / 440.4 MB, free: 12.8 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.3209, allocations: 23.91 kB / 440.4 MB, free: 12.77 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.3209, allocations: 8 kB / 440.4 MB, free: 12.77 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002563/0.3212, allocations: 211.1 kB / 440.6 MB, free: 12.56 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3212, allocations: 4 kB / 440.6 MB, free: 12.55 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004497/0.3216, allocations: 91.78 kB / 440.7 MB, free: 12.46 MB / 350.1 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.0001533/0.3218, allocations: 103.2 kB / 440.8 MB, free: 12.36 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0012/0.323, allocations: 438.1 kB / 441.2 MB, free: 11.9 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.323, allocations: 0 / 441.2 MB, free: 11.9 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005889/0.3236, allocations: 254.5 kB / 441.5 MB, free: 11.64 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.3239, allocations: 46.83 kB / 441.5 MB, free: 11.6 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.3254, allocations: 0.584 MB / 442.1 MB, free: 10.99 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.3258, allocations: 0.7716 MB / 442.9 MB, free: 10.19 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001242/0.3259, allocations: 26.97 kB / 442.9 MB, free: 10.16 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.326, allocations: 27.42 kB / 442.9 MB, free: 10.14 MB / 350.1 MB
Notification: Performance of SimCode: time 6.21e-07/0.326, allocations: 0 / 442.9 MB, free: 10.14 MB / 350.1 MB
Notification: Performance of Templates: time 0.0103/0.3363, allocations: 4.647 MB / 447.6 MB, free: 5.531 MB / 350.1 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=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.6594489281997085]