Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001976/0.001976, allocations: 112.2 kB / 20.43 MB, free: 1.465 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.002256/0.002256, allocations: 184.2 kB / 23.71 MB, free: 4.715 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.458/1.458, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator")
translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 43.92 kB / 371 MB, free: 9.34 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3067, allocations: 52.18 MB / 423.1 MB, free: 14.7 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004818/0.3115, allocations: 2.9 MB / 426 MB, free: 11.79 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001425/0.313, allocations: 0.7362 MB / 426.8 MB, free: 11.04 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.3131, allocations: 4 kB / 426.8 MB, free: 11.04 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.3133, allocations: 43.56 kB / 426.8 MB, free: 11 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.3135, allocations: 103.2 kB / 426.9 MB, free: 10.89 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.3138, allocations: 115.8 kB / 427 MB, free: 10.78 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005156/0.3144, allocations: 394.5 kB / 427.4 MB, free: 10.39 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.3146, allocations: 83.69 kB / 427.5 MB, free: 10.31 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.3149, allocations: 159.4 kB / 427.7 MB, free: 10.15 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.3151, allocations: 163.3 kB / 427.8 MB, free: 9.992 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.371e-05/0.3152, allocations: 40 kB / 427.9 MB, free: 9.953 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.549e-05/0.3153, allocations: 36 kB / 427.9 MB, free: 9.918 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.487e-05/0.3154, allocations: 75.77 kB / 428 MB, free: 9.844 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.3156, allocations: 163.2 kB / 428.1 MB, free: 9.684 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005396/0.3161, allocations: 435.6 kB / 428.6 MB, free: 9.262 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3161, allocations: 4 kB / 428.6 MB, free: 9.258 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.823e-06/0.3161, allocations: 0 / 428.6 MB, free: 9.258 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.354e-06/0.3161, allocations: 0 / 428.6 MB, free: 9.258 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: 59
 * Number of variables: 59
Notification: Performance of Generate backend data structure: time 0.001578/0.3177, allocations: 0.5887 MB / 429.1 MB, free: 8.629 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.3177, allocations: 12.03 kB / 429.2 MB, free: 8.617 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.3178, allocations: 36.7 kB / 429.2 MB, free: 8.582 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.3184, allocations: 227 kB / 429.4 MB, free: 8.336 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.3184, allocations: 16.88 kB / 429.4 MB, free: 8.32 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.3185, allocations: 20.38 kB / 429.5 MB, free: 8.301 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008092/0.3193, allocations: 323 kB / 429.8 MB, free: 7.973 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3193, allocations: 0 / 429.8 MB, free: 7.973 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.3193, allocations: 8 kB / 429.8 MB, free: 7.965 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3193, allocations: 8 kB / 429.8 MB, free: 7.957 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009139/0.3202, allocations: 273.8 kB / 430.1 MB, free: 7.691 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.3226, allocations: 1.13 MB / 431.2 MB, free: 6.477 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009469/0.3235, allocations: 246.5 kB / 431.4 MB, free: 6.227 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.3239, allocations: 100.8 kB / 431.5 MB, free: 6.125 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3239, allocations: 0 / 431.5 MB, free: 6.125 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004852/0.3244, allocations: 169 kB / 431.7 MB, free: 5.941 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.3244, allocations: 0 / 431.7 MB, free: 5.941 MB / 334.1 MB
Notification: Performance of matching and sorting (n=12): time 0.002314/0.3267, allocations: 0.5213 MB / 432.2 MB, free: 5.41 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.3268, allocations: 81.05 kB / 432.3 MB, free: 5.312 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.3272, allocations: 265.9 kB / 432.5 MB, free: 5.047 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.3272, allocations: 33.7 kB / 432.6 MB, free: 5.008 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.3274, allocations: 196 kB / 432.8 MB, free: 4.812 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.3275, allocations: 43.67 kB / 432.8 MB, free: 4.77 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3276, allocations: 49.66 kB / 432.9 MB, free: 4.715 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001979/0.3278, allocations: 330.8 kB / 433.2 MB, free: 4.383 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.3282, allocations: 108.2 kB / 433.3 MB, free: 4.273 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.3286, allocations: 191.3 kB / 433.5 MB, free: 4.051 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008236/0.3294, allocations: 303 kB / 433.8 MB, free: 3.715 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3294, allocations: 0 / 433.8 MB, free: 3.715 MB / 334.1 MB
Notification: Performance of matching and sorting (n=27) (initialization): time 0.001256/0.3307, allocations: 451.8 kB / 434.2 MB, free: 3.258 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.3307, allocations: 45.62 kB / 434.3 MB, free: 3.207 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3308, allocations: 0 / 434.3 MB, free: 3.207 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/0.3311, allocations: 68.88 kB / 434.3 MB, free: 3.137 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.3313, allocations: 51.91 kB / 434.4 MB, free: 3.086 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.3336, allocations: 1.534 MB / 435.9 MB, free: 1.438 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.334, allocations: 47.86 kB / 436 MB, free: 1.391 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.334, allocations: 12 kB / 436 MB, free: 1.379 MB / 334.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 (25):
 * Single equations (assignments): 23
 * 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,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.3342, allocations: 153.7 kB / 436.1 MB, free: 1.219 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.3342, allocations: 23.84 kB / 436.1 MB, free: 1.195 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/0.3343, allocations: 21.72 kB / 436.2 MB, free: 1.172 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3343, allocations: 0 / 436.2 MB, free: 1.172 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3343, allocations: 0 / 436.2 MB, free: 1.172 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3343, allocations: 3.984 kB / 436.2 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.3346, allocations: 288.4 kB / 436.5 MB, free: 0.8438 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3346, allocations: 8 kB / 436.5 MB, free: 0.8359 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.3348, allocations: 27.97 kB / 436.5 MB, free: 0.8086 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.335, allocations: 60.81 kB / 436.5 MB, free: 0.7461 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.3351, allocations: 4 kB / 436.5 MB, free: 0.7422 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.3373, allocations: 1.529 MB / 438.1 MB, free: 15.09 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3373, allocations: 0 / 438.1 MB, free: 15.09 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.3388, allocations: 461.4 kB / 438.5 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.3389, allocations: 27.88 kB / 438.6 MB, free: 14.59 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.3389, allocations: 4 kB / 438.6 MB, free: 14.59 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.3392, allocations: 27.97 kB / 438.6 MB, free: 14.56 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/0.3393, allocations: 19.97 kB / 438.6 MB, free: 14.54 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3393, allocations: 12 kB / 438.6 MB, free: 14.53 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002347/0.3395, allocations: 189.2 kB / 438.8 MB, free: 14.35 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3395, allocations: 0 / 438.8 MB, free: 14.35 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003692/0.3399, allocations: 71.89 kB / 438.9 MB, free: 14.28 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (integrator.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,1)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001579/0.34, allocations: 95.25 kB / 439 MB, free: 14.17 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001118/0.3412, allocations: 405.5 kB / 439.4 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3412, allocations: 0 / 439.4 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004941/0.3417, allocations: 215.3 kB / 439.6 MB, free: 13.53 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.342, allocations: 47.69 kB / 439.6 MB, free: 13.48 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.3459, allocations: 0.8804 MB / 440.5 MB, free: 12.58 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.3463, allocations: 0.7518 MB / 441.3 MB, free: 11.8 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.000118/0.3464, allocations: 26.3 kB / 441.3 MB, free: 11.78 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.3465, allocations: 23.38 kB / 441.3 MB, free: 11.76 MB / 350.1 MB
Notification: Performance of SimCode: time 1.032e-06/0.3465, allocations: 0 / 441.3 MB, free: 11.76 MB / 350.1 MB
Notification: Performance of Templates: time 0.009443/0.356, allocations: 3.837 MB / 445.1 MB, free: 7.949 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.644654804840684]