Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001458/0.001458, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002293/0.002293, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.673/1.673, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 59.89 kB / 378.8 MB, free: 2.754 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3004, allocations: 53.36 MB / 432.1 MB, free: 7.094 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004509/0.3049, allocations: 2.991 MB / 435.1 MB, free: 4.094 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001524/0.3064, allocations: 0.7635 MB / 435.9 MB, free: 3.324 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.3066, allocations: 7.938 kB / 435.9 MB, free: 3.316 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000212/0.3068, allocations: 51.5 kB / 436 MB, free: 3.266 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.307, allocations: 107.2 kB / 436.1 MB, free: 3.16 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.3074, allocations: 115.8 kB / 436.2 MB, free: 3.047 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005455/0.308, allocations: 414.4 kB / 436.6 MB, free: 2.641 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.3082, allocations: 95.67 kB / 436.7 MB, free: 2.543 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.3085, allocations: 163.5 kB / 436.8 MB, free: 2.383 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.3087, allocations: 171.2 kB / 437 MB, free: 2.215 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.3088, allocations: 40 kB / 437 MB, free: 2.176 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.099e-05/0.3089, allocations: 40 kB / 437.1 MB, free: 2.137 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.51e-05/0.3089, allocations: 79.7 kB / 437.2 MB, free: 2.059 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.3092, allocations: 179.1 kB / 437.3 MB, free: 1.883 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006155/0.3098, allocations: 452 kB / 437.8 MB, free: 1.445 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3098, allocations: 0 / 437.8 MB, free: 1.445 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.132e-06/0.3098, allocations: 0 / 437.8 MB, free: 1.445 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.476e-06/0.3099, allocations: 0 / 437.8 MB, free: 1.445 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.001507/0.3114, allocations: 0.613 MB / 438.4 MB, free: 0.7969 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 0.000107/0.3115, allocations: 16.03 kB / 438.4 MB, free: 0.7812 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.895e-05/0.3116, allocations: 40.7 kB / 438.4 MB, free: 0.7422 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.3121, allocations: 253.8 kB / 438.7 MB, free: 480 kB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.3121, allocations: 16.88 kB / 438.7 MB, free: 464 kB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.3122, allocations: 24.36 kB / 438.7 MB, free: 440 kB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008137/0.313, allocations: 335 kB / 439.1 MB, free: 92 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.313, allocations: 0 / 439.1 MB, free: 92 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.313, allocations: 12 kB / 439.1 MB, free: 80 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.313, allocations: 4 kB / 439.1 MB, free: 76 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008891/0.3139, allocations: 285.8 kB / 439.3 MB, free: 15.79 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.3161, allocations: 1.104 MB / 440.5 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009538/0.317, allocations: 242.6 kB / 440.7 MB, free: 14.37 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.3174, allocations: 100.8 kB / 440.8 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.3174, allocations: 7.984 kB / 440.8 MB, free: 14.26 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005575/0.318, allocations: 185.3 kB / 441 MB, free: 14.06 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.318, allocations: 224 / 441 MB, free: 14.06 MB / 350.1 MB
Notification: Performance of matching and sorting (n=13): time 0.00257/0.3206, allocations: 0.5838 MB / 441.6 MB, free: 13.47 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.3207, allocations: 110.8 kB / 441.7 MB, free: 13.34 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.3211, allocations: 281.8 kB / 441.9 MB, free: 13.05 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.3211, allocations: 33.7 kB / 442 MB, free: 13.01 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.3213, allocations: 196.1 kB / 442.2 MB, free: 12.81 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/0.3214, allocations: 51.58 kB / 442.2 MB, free: 12.76 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.3215, allocations: 49.94 kB / 442.3 MB, free: 12.7 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002143/0.3217, allocations: 334.8 kB / 442.6 MB, free: 12.37 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.3221, allocations: 104.4 kB / 442.7 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.3225, allocations: 208.8 kB / 442.9 MB, free: 12.02 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007731/0.3233, allocations: 306.3 kB / 443.2 MB, free: 11.68 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3233, allocations: 0 / 443.2 MB, free: 11.68 MB / 350.1 MB
Notification: Performance of matching and sorting (n=28) (initialization): time 0.001351/0.3247, allocations: 475.7 kB / 443.7 MB, free: 11.2 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/0.3247, allocations: 37.77 kB / 443.7 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.3247, allocations: 8 kB / 443.7 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004553/0.3252, allocations: 80.8 kB / 443.8 MB, free: 11.07 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.3254, allocations: 47.91 kB / 443.8 MB, free: 11.02 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/0.3286, allocations: 1.898 MB / 445.7 MB, free: 9.008 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.3289, allocations: 51.8 kB / 445.8 MB, free: 8.957 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.329, allocations: 16.06 kB / 445.8 MB, free: 8.941 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.0001938/0.3292, allocations: 157.7 kB / 446 MB, free: 8.777 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.3292, allocations: 27.8 kB / 446 MB, free: 8.75 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/0.3293, allocations: 21.77 kB / 446 MB, free: 8.727 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3293, allocations: 4 kB / 446 MB, free: 8.723 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3293, allocations: 0 / 446 MB, free: 8.723 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3293, allocations: 0 / 446 MB, free: 8.723 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.3296, allocations: 300.4 kB / 446.3 MB, free: 8.387 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3296, allocations: 4 kB / 446.3 MB, free: 8.383 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.3298, allocations: 19.98 kB / 446.3 MB, free: 8.363 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003061/0.3301, allocations: 80.8 kB / 446.4 MB, free: 8.281 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.3301, allocations: 7.984 kB / 446.4 MB, free: 8.273 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.3327, allocations: 1.705 MB / 448.1 MB, free: 6.449 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3327, allocations: 0 / 448.1 MB, free: 6.449 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.3339, allocations: 369.6 kB / 448.5 MB, free: 6.066 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.3339, allocations: 31.81 kB / 448.5 MB, free: 6.035 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.334, allocations: 3.984 kB / 448.5 MB, free: 6.031 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.3342, allocations: 31.97 kB / 448.5 MB, free: 6 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.3343, allocations: 27.84 kB / 448.6 MB, free: 5.973 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3343, allocations: 3.984 kB / 448.6 MB, free: 5.969 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002366/0.3346, allocations: 201.2 kB / 448.8 MB, free: 5.773 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3346, allocations: 4 kB / 448.8 MB, free: 5.77 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004082/0.335, allocations: 79.89 kB / 448.8 MB, free: 5.691 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.0001552/0.3351, allocations: 107.2 kB / 449 MB, free: 5.574 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.00112/0.3363, allocations: 409.9 kB / 449.4 MB, free: 5.148 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3363, allocations: 0 / 449.4 MB, free: 5.148 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005491/0.3368, allocations: 247 kB / 449.6 MB, free: 4.895 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.3372, allocations: 55.84 kB / 449.7 MB, free: 4.844 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.3383, allocations: 496.4 kB / 450.1 MB, free: 4.336 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.3387, allocations: 0.7519 MB / 450.9 MB, free: 3.559 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001207/0.3389, allocations: 26.28 kB / 450.9 MB, free: 3.531 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.3389, allocations: 23.44 kB / 450.9 MB, free: 3.512 MB / 350.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.3389, allocations: 0 / 450.9 MB, free: 3.512 MB / 350.1 MB
Notification: Performance of Templates: time 0.009551/0.3485, allocations: 4.374 MB / 455.3 MB, free: 15.18 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.941937210969627]