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.InvertingAmplifier.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.001365/0.001365, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001374/0.001374, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.514/1.514, 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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier")
translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [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.002018/0.002018, allocations: 60.77 kB / 379.1 MB, free: 2.625 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2964, allocations: 53.37 MB / 432.4 MB, free: 6.949 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004854/0.3013, allocations: 2.976 MB / 435.4 MB, free: 3.961 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001741/0.303, allocations: 0.7636 MB / 436.2 MB, free: 3.191 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003454/0.3034, allocations: 7.938 kB / 436.2 MB, free: 3.184 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.3037, allocations: 51.5 kB / 436.2 MB, free: 3.133 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000497/0.3042, allocations: 107.2 kB / 436.3 MB, free: 3.027 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.3047, allocations: 119.8 kB / 436.5 MB, free: 2.91 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0008125/0.3055, allocations: 414.5 kB / 436.9 MB, free: 2.504 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.3058, allocations: 91.67 kB / 437 MB, free: 2.41 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.3061, allocations: 167.4 kB / 437.1 MB, free: 2.246 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.3063, allocations: 171.2 kB / 437.3 MB, free: 2.078 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.16e-05/0.3064, allocations: 40 kB / 437.3 MB, free: 2.039 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.3065, allocations: 40 kB / 437.4 MB, free: 2 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.952e-05/0.3066, allocations: 79.7 kB / 437.4 MB, free: 1.922 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.3068, allocations: 179.1 kB / 437.6 MB, free: 1.746 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.3073, allocations: 456 kB / 438.1 MB, free: 1.305 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3073, allocations: 0 / 438.1 MB, free: 1.305 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.874e-06/0.3073, allocations: 0 / 438.1 MB, free: 1.305 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 9.909e-06/0.3073, allocations: 0 / 438.1 MB, free: 1.305 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: 61
 * Number of variables: 61
Notification: Performance of Generate backend data structure: time 0.001342/0.3087, allocations: 0.613 MB / 438.7 MB, free: 0.6562 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3087, allocations: 12.03 kB / 438.7 MB, free: 0.6445 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.3088, allocations: 40.7 kB / 438.7 MB, free: 0.6055 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.3093, allocations: 245.8 kB / 439 MB, free: 348 kB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3093, allocations: 20.88 kB / 439 MB, free: 328 kB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.3093, allocations: 24.38 kB / 439 MB, free: 304 kB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007365/0.3101, allocations: 331 kB / 439.3 MB, free: 15.96 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3101, allocations: 0 / 439.3 MB, free: 15.96 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.3101, allocations: 12 kB / 439.3 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3101, allocations: 7.984 kB / 439.3 MB, free: 15.94 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007967/0.3109, allocations: 289.7 kB / 439.6 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.3129, allocations: 1.1 MB / 440.7 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008032/0.3137, allocations: 250.5 kB / 441 MB, free: 14.23 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.314, allocations: 100.8 kB / 441.1 MB, free: 14.13 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.3141, allocations: 0 / 441.1 MB, free: 14.13 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004879/0.3145, allocations: 189.8 kB / 441.3 MB, free: 13.92 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.3145, allocations: 0 / 441.3 MB, free: 13.92 MB / 350.1 MB
Notification: Performance of matching and sorting (n=13): time 0.002167/0.3167, allocations: 0.587 MB / 441.8 MB, free: 13.33 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/0.3168, allocations: 110.8 kB / 442 MB, free: 13.2 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.3171, allocations: 281.8 kB / 442.2 MB, free: 12.91 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.3172, allocations: 29.92 kB / 442.3 MB, free: 12.87 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.3173, allocations: 196.1 kB / 442.5 MB, free: 12.68 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.3174, allocations: 55.52 kB / 442.5 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.664e-05/0.3175, allocations: 45.94 kB / 442.6 MB, free: 12.57 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001657/0.3176, allocations: 342.8 kB / 442.9 MB, free: 12.22 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.318, allocations: 100.4 kB / 443 MB, free: 12.12 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.3184, allocations: 212.8 kB / 443.2 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/0.3191, allocations: 306.8 kB / 443.5 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3191, allocations: 0 / 443.5 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of matching and sorting (n=28) (initialization): time 0.001226/0.3204, allocations: 475.7 kB / 444 MB, free: 11.05 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.3204, allocations: 33.7 kB / 444 MB, free: 11.02 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3204, allocations: 4 kB / 444 MB, free: 11.01 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.3208, allocations: 84.86 kB / 444.1 MB, free: 10.93 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.321, allocations: 47.91 kB / 444.1 MB, free: 10.88 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/0.3238, allocations: 1.898 MB / 446 MB, free: 8.867 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.3242, allocations: 51.8 kB / 446.1 MB, free: 8.816 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.3242, allocations: 8 kB / 446.1 MB, free: 8.809 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 (23):
 * Single equations (assignments): 21
 * 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.000198/0.3244, allocations: 172.5 kB / 446.2 MB, free: 8.633 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.3244, allocations: 19.86 kB / 446.3 MB, free: 8.613 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.3245, allocations: 29.77 kB / 446.3 MB, free: 8.582 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3245, allocations: 0 / 446.3 MB, free: 8.582 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3245, allocations: 4 kB / 446.3 MB, free: 8.578 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3245, allocations: 0 / 446.3 MB, free: 8.578 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.3248, allocations: 300.4 kB / 446.6 MB, free: 8.242 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3248, allocations: 0 / 446.6 MB, free: 8.242 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.325, allocations: 27.97 kB / 446.6 MB, free: 8.215 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002616/0.3252, allocations: 72.81 kB / 446.7 MB, free: 8.141 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.3252, allocations: 7.984 kB / 446.7 MB, free: 8.133 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/0.3276, allocations: 1.705 MB / 448.4 MB, free: 6.309 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3276, allocations: 0 / 448.4 MB, free: 6.309 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.3286, allocations: 369.6 kB / 448.8 MB, free: 5.926 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.3286, allocations: 27.8 kB / 448.8 MB, free: 5.898 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.3287, allocations: 8 kB / 448.8 MB, free: 5.891 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3289, allocations: 31.97 kB / 448.8 MB, free: 5.859 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/0.329, allocations: 19.91 kB / 448.9 MB, free: 5.84 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.329, allocations: 7.984 kB / 448.9 MB, free: 5.832 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002157/0.3292, allocations: 205.2 kB / 449.1 MB, free: 5.633 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3292, allocations: 0 / 449.1 MB, free: 5.633 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003672/0.3296, allocations: 83.83 kB / 449.1 MB, free: 5.551 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * 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 (9):
 * Single equations (assignments): 6
 * 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.0001299/0.3297, allocations: 104.5 kB / 449.2 MB, free: 5.438 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001008/0.3307, allocations: 413.9 kB / 449.6 MB, free: 5.008 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.3307, allocations: 0 / 449.6 MB, free: 5.008 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004662/0.3312, allocations: 235 kB / 449.9 MB, free: 4.766 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.3315, allocations: 60.38 kB / 449.9 MB, free: 4.707 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.3326, allocations: 0.492 MB / 450.4 MB, free: 4.195 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.333, allocations: 0.7558 MB / 451.2 MB, free: 3.414 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001048/0.3331, allocations: 22.3 kB / 451.2 MB, free: 3.391 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.3331, allocations: 19.44 kB / 451.2 MB, free: 3.375 MB / 350.1 MB
Notification: Performance of SimCode: time 4.61e-07/0.3332, allocations: 0 / 451.2 MB, free: 3.375 MB / 350.1 MB
Notification: Performance of Templates: time 0.009068/0.3422, allocations: 4.361 MB / 455.6 MB, free: 15.05 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.5893630078062415]