Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001763/0.001763, 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.002394/0.002394, allocations: 211.8 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.52/1.52, allocations: 230.6 MB / 258.2 MB, free: 8.066 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp")
translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp") [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.001895/0.001895, allocations: 63.89 kB / 379 MB, free: 2.664 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2897, allocations: 53.38 MB / 432.4 MB, free: 6.977 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004267/0.294, allocations: 2.848 MB / 435.3 MB, free: 4.117 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001255/0.2953, allocations: 0.6729 MB / 435.9 MB, free: 3.441 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.2954, allocations: 8 kB / 435.9 MB, free: 3.434 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.2955, allocations: 51.5 kB / 436 MB, free: 3.383 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000187/0.2957, allocations: 91.19 kB / 436.1 MB, free: 3.293 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.296, allocations: 83.88 kB / 436.2 MB, free: 3.211 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004297/0.2964, allocations: 378.5 kB / 436.5 MB, free: 2.84 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.2966, allocations: 87.34 kB / 436.6 MB, free: 2.754 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.2968, allocations: 155.4 kB / 436.8 MB, free: 2.602 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.297, allocations: 163.4 kB / 436.9 MB, free: 2.441 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.066e-05/0.2971, allocations: 39.98 kB / 437 MB, free: 2.402 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.271e-05/0.2972, allocations: 36 kB / 437 MB, free: 2.367 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.168e-05/0.2972, allocations: 71.7 kB / 437.1 MB, free: 2.297 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.2974, allocations: 167.2 kB / 437.2 MB, free: 2.133 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.2978, allocations: 378.2 kB / 437.6 MB, free: 1.766 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2978, allocations: 0 / 437.6 MB, free: 1.766 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.382e-06/0.2978, allocations: 0 / 437.6 MB, free: 1.766 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.063e-06/0.2979, allocations: 4 kB / 437.6 MB, free: 1.762 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: 60
 * Number of variables: 60
Notification: Performance of Generate backend data structure: time 0.001291/0.2991, allocations: 0.5898 MB / 438.2 MB, free: 1.137 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2992, allocations: 8.031 kB / 438.2 MB, free: 1.129 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.666e-05/0.2993, allocations: 40.7 kB / 438.3 MB, free: 1.09 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.2996, allocations: 219 kB / 438.5 MB, free: 0.8477 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.2997, allocations: 12.88 kB / 438.5 MB, free: 0.8359 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.2997, allocations: 28.31 kB / 438.5 MB, free: 0.8086 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.3004, allocations: 302.9 kB / 438.8 MB, free: 0.5 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3004, allocations: 4 kB / 438.8 MB, free: 0.4961 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.3004, allocations: 8 kB / 438.8 MB, free: 500 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3004, allocations: 11.98 kB / 438.8 MB, free: 488 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007621/0.3012, allocations: 249.5 kB / 439.1 MB, free: 236 kB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.3029, allocations: 1.051 MB / 440.1 MB, free: 15.09 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007529/0.3037, allocations: 206.5 kB / 440.3 MB, free: 14.88 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.304, allocations: 84.73 kB / 440.4 MB, free: 14.8 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.304, allocations: 4 kB / 440.4 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004396/0.3044, allocations: 169.9 kB / 440.6 MB, free: 14.61 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.3044, allocations: 0 / 440.6 MB, free: 14.61 MB / 350.1 MB
Notification: Performance of matching and sorting (n=12): time 0.001967/0.3064, allocations: 445.8 kB / 441 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.3065, allocations: 106.8 kB / 441.1 MB, free: 14.03 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.3068, allocations: 289.8 kB / 441.4 MB, free: 13.74 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.3068, allocations: 25.7 kB / 441.4 MB, free: 13.71 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.307, allocations: 200.1 kB / 441.6 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.307, allocations: 43.62 kB / 441.7 MB, free: 13.46 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.019e-05/0.3071, allocations: 49.89 kB / 441.7 MB, free: 13.41 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.000155/0.3073, allocations: 338.8 kB / 442 MB, free: 13.07 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.3076, allocations: 96.14 kB / 442.1 MB, free: 12.97 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.308, allocations: 203 kB / 442.3 MB, free: 12.73 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/0.3087, allocations: 297.5 kB / 442.6 MB, free: 12.39 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3087, allocations: 3.938 kB / 442.6 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.001164/0.3099, allocations: 426.9 kB / 443 MB, free: 11.95 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.3099, allocations: 41.64 kB / 443.1 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.3099, allocations: 4 kB / 443.1 MB, free: 11.9 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003348/0.3103, allocations: 76.83 kB / 443.2 MB, free: 11.82 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.3105, allocations: 47.91 kB / 443.2 MB, free: 11.78 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/0.313, allocations: 1.608 MB / 444.8 MB, free: 10.05 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.3134, allocations: 59.73 kB / 444.9 MB, free: 9.996 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.3134, allocations: 8 kB / 444.9 MB, free: 9.988 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * 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,5)}
Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.3136, allocations: 149.7 kB / 445 MB, free: 9.832 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.3136, allocations: 31.81 kB / 445.1 MB, free: 9.801 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.121e-05/0.3137, allocations: 25.7 kB / 445.1 MB, free: 9.777 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3137, allocations: 4 kB / 445.1 MB, free: 9.773 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.3137, allocations: 0 / 445.1 MB, free: 9.773 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3137, allocations: 0 / 445.1 MB, free: 9.773 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.314, allocations: 268.5 kB / 445.4 MB, free: 9.469 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.314, allocations: 3.938 kB / 445.4 MB, free: 9.465 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3141, allocations: 19.97 kB / 445.4 MB, free: 9.445 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002512/0.3143, allocations: 72.75 kB / 445.4 MB, free: 9.371 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3144, allocations: 3.984 kB / 445.5 MB, free: 9.367 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/0.3165, allocations: 1.608 MB / 447.1 MB, free: 7.641 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3165, allocations: 0 / 447.1 MB, free: 7.641 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009464/0.3175, allocations: 306 kB / 447.4 MB, free: 7.32 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.729e-05/0.3176, allocations: 31.83 kB / 447.4 MB, free: 7.289 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.3176, allocations: 8 kB / 447.4 MB, free: 7.281 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.3178, allocations: 31.95 kB / 447.4 MB, free: 7.25 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.3179, allocations: 23.97 kB / 447.5 MB, free: 7.227 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3179, allocations: 0 / 447.5 MB, free: 7.227 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002109/0.3182, allocations: 205.1 kB / 447.7 MB, free: 7.027 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3182, allocations: 0 / 447.7 MB, free: 7.027 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003514/0.3185, allocations: 83.83 kB / 447.7 MB, free: 6.945 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 (7):
 * Single equations (assignments): 4
 * 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,5)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001354/0.3186, allocations: 103.2 kB / 447.8 MB, free: 6.836 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.000985/0.3196, allocations: 414.4 kB / 448.2 MB, free: 6.406 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3196, allocations: 128 / 448.2 MB, free: 6.406 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.3201, allocations: 222.5 kB / 448.5 MB, free: 6.176 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.3204, allocations: 41.16 kB / 448.5 MB, free: 6.137 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.3215, allocations: 476.3 kB / 449 MB, free: 5.648 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.3219, allocations: 0.7518 MB / 449.7 MB, free: 4.871 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001157/0.3221, allocations: 34.2 kB / 449.7 MB, free: 4.836 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.3221, allocations: 23.44 kB / 449.8 MB, free: 4.812 MB / 350.1 MB
Notification: Performance of SimCode: time 9.02e-07/0.3221, allocations: 0 / 449.8 MB, free: 4.812 MB / 350.1 MB
Notification: Performance of Templates: time 0.00936/0.3315, allocations: 4.416 MB / 454.2 MB, free: 444 kB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.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.720349377952516]