Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001984/0.001984, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002413/0.002413, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 64.77 kB / 379.1 MB, free: 2.633 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2377, allocations: 53.38 MB / 432.4 MB, free: 6.945 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004042/0.2418, allocations: 2.909 MB / 435.3 MB, free: 4.027 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001263/0.243, allocations: 0.7596 MB / 436.1 MB, free: 3.262 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.2432, allocations: 4 kB / 436.1 MB, free: 3.258 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.2433, allocations: 51.5 kB / 436.2 MB, free: 3.207 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.2435, allocations: 95.25 kB / 436.3 MB, free: 3.113 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.2438, allocations: 123.7 kB / 436.4 MB, free: 2.992 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004228/0.2442, allocations: 390.5 kB / 436.8 MB, free: 2.609 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.2444, allocations: 91.66 kB / 436.8 MB, free: 2.516 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.2447, allocations: 159.4 kB / 437 MB, free: 2.359 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.2449, allocations: 171.2 kB / 437.2 MB, free: 2.191 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.2449, allocations: 36 kB / 437.2 MB, free: 2.156 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.829e-05/0.245, allocations: 40 kB / 437.2 MB, free: 2.117 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.903e-05/0.2451, allocations: 75.75 kB / 437.3 MB, free: 2.043 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.2452, allocations: 171.2 kB / 437.5 MB, free: 1.875 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00045/0.2457, allocations: 424 kB / 437.9 MB, free: 1.465 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2457, allocations: 3.984 kB / 437.9 MB, free: 1.461 MB / 334.1 MB
Notification: Performance of FrontEnd: time 9.82e-07/0.2457, allocations: 7.938 kB / 437.9 MB, free: 1.453 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.008e-05/0.2457, allocations: 4 kB / 437.9 MB, free: 1.449 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.001205/0.2469, allocations: 0.5887 MB / 438.5 MB, free: 0.8242 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2469, allocations: 8.031 kB / 438.5 MB, free: 0.8164 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.247, allocations: 32.75 kB / 438.5 MB, free: 0.7852 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.2474, allocations: 238.9 kB / 438.8 MB, free: 0.5273 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.2474, allocations: 20.88 kB / 438.8 MB, free: 0.5078 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.2475, allocations: 20.38 kB / 438.8 MB, free: 500 kB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006639/0.2481, allocations: 315 kB / 439.1 MB, free: 172 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2481, allocations: 0 / 439.1 MB, free: 172 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.2482, allocations: 12 kB / 439.1 MB, free: 160 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.2482, allocations: 4 kB / 439.1 MB, free: 156 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007664/0.2489, allocations: 285.7 kB / 439.4 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.2509, allocations: 1.122 MB / 440.5 MB, free: 14.67 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008308/0.2517, allocations: 242.5 kB / 440.8 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.252, allocations: 100.8 kB / 440.9 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.252, allocations: 0 / 440.9 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004253/0.2524, allocations: 176.9 kB / 441 MB, free: 14.13 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.2524, allocations: 0 / 441 MB, free: 14.13 MB / 350.1 MB
Notification: Performance of matching and sorting (n=12): time 0.001831/0.2543, allocations: 0.5097 MB / 441.6 MB, free: 13.61 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.2543, allocations: 89.05 kB / 441.6 MB, free: 13.5 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.2546, allocations: 257.9 kB / 441.9 MB, free: 13.24 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.2547, allocations: 33.7 kB / 441.9 MB, free: 13.2 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.2548, allocations: 204 kB / 442.1 MB, free: 13 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.2548, allocations: 43.64 kB / 442.2 MB, free: 12.96 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.2549, allocations: 45.7 kB / 442.2 MB, free: 12.91 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001411/0.2551, allocations: 334.8 kB / 442.5 MB, free: 12.57 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.2554, allocations: 104.1 kB / 442.6 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.2558, allocations: 191.5 kB / 442.8 MB, free: 12.24 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/0.2564, allocations: 299.7 kB / 443.1 MB, free: 11.9 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.2565, allocations: 4 kB / 443.1 MB, free: 11.9 MB / 350.1 MB
Notification: Performance of matching and sorting (n=27) (initialization): time 0.001136/0.2576, allocations: 442.7 kB / 443.6 MB, free: 11.45 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.2576, allocations: 41.64 kB / 443.6 MB, free: 11.41 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2576, allocations: 4 kB / 443.6 MB, free: 11.4 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003295/0.258, allocations: 60.88 kB / 443.7 MB, free: 11.34 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.2582, allocations: 59.89 kB / 443.7 MB, free: 11.28 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.2604, allocations: 1.53 MB / 445.3 MB, free: 9.637 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.2607, allocations: 55.73 kB / 445.3 MB, free: 9.582 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2607, allocations: 16 kB / 445.3 MB, free: 9.566 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 (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.0001791/0.2609, allocations: 153.7 kB / 445.5 MB, free: 9.406 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.261, allocations: 23.86 kB / 445.5 MB, free: 9.383 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.261, allocations: 21.7 kB / 445.5 MB, free: 9.359 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.261, allocations: 0 / 445.5 MB, free: 9.359 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.261, allocations: 0 / 445.5 MB, free: 9.359 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.261, allocations: 4 kB / 445.5 MB, free: 9.355 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.2613, allocations: 292.5 kB / 445.8 MB, free: 9.027 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2613, allocations: 4 kB / 445.8 MB, free: 9.023 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.2615, allocations: 31.97 kB / 445.8 MB, free: 8.992 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002361/0.2618, allocations: 60.81 kB / 445.9 MB, free: 8.93 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.2618, allocations: 7.938 kB / 445.9 MB, free: 8.922 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.264, allocations: 1.525 MB / 447.4 MB, free: 7.281 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.264, allocations: 0 / 447.4 MB, free: 7.281 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.2653, allocations: 461.4 kB / 447.9 MB, free: 6.809 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.2653, allocations: 19.89 kB / 447.9 MB, free: 6.789 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.2653, allocations: 7.984 kB / 447.9 MB, free: 6.781 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.2656, allocations: 27.97 kB / 447.9 MB, free: 6.754 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/0.2656, allocations: 15.97 kB / 448 MB, free: 6.738 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.2656, allocations: 12.06 kB / 448 MB, free: 6.727 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002016/0.2658, allocations: 189.2 kB / 448.2 MB, free: 6.543 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2658, allocations: 0 / 448.2 MB, free: 6.543 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003241/0.2662, allocations: 67.89 kB / 448.2 MB, free: 6.477 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.000131/0.2663, allocations: 107.2 kB / 448.3 MB, free: 6.359 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001026/0.2673, allocations: 405.8 kB / 448.7 MB, free: 5.938 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2673, allocations: 0 / 448.7 MB, free: 5.938 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00046/0.2678, allocations: 215.2 kB / 448.9 MB, free: 5.715 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.2682, allocations: 49.09 kB / 449 MB, free: 5.668 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.2716, allocations: 0.8793 MB / 449.9 MB, free: 4.766 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.2722, allocations: 0.748 MB / 450.6 MB, free: 3.992 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001375/0.2723, allocations: 30.22 kB / 450.6 MB, free: 3.965 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.2724, allocations: 19.44 kB / 450.7 MB, free: 3.945 MB / 350.1 MB
Notification: Performance of SimCode: time 1.192e-06/0.2724, allocations: 0 / 450.7 MB, free: 3.945 MB / 350.1 MB
Notification: Performance of Templates: time 0.009266/0.2816, allocations: 3.864 MB / 454.5 MB, free: 124 kB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.587165768258274]