Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001338/0.001338, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001395/0.001395, allocations: 184.5 kB / 23.71 MB, free: 4.695 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.497/1.497, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier")
translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 43.92 kB / 371 MB, free: 9.316 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2763, allocations: 52.19 MB / 423.1 MB, free: 14.65 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004454/0.2808, allocations: 2.974 MB / 426.1 MB, free: 11.67 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001338/0.2821, allocations: 0.744 MB / 426.9 MB, free: 10.92 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.2822, allocations: 7.938 kB / 426.9 MB, free: 10.91 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.2824, allocations: 51.5 kB / 426.9 MB, free: 10.86 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.2825, allocations: 103.2 kB / 427 MB, free: 10.76 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.2828, allocations: 115.8 kB / 427.1 MB, free: 10.64 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000449/0.2832, allocations: 414.4 kB / 427.5 MB, free: 10.24 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.2834, allocations: 95.67 kB / 427.6 MB, free: 10.14 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.2836, allocations: 155.4 kB / 427.8 MB, free: 9.988 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.2838, allocations: 171.3 kB / 427.9 MB, free: 9.82 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.2839, allocations: 44 kB / 428 MB, free: 9.777 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.552e-05/0.2839, allocations: 40 kB / 428 MB, free: 9.738 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.072e-05/0.284, allocations: 83.67 kB / 428.1 MB, free: 9.656 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.2842, allocations: 171.2 kB / 428.3 MB, free: 9.488 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.2847, allocations: 459.5 kB / 428.7 MB, free: 9.043 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2847, allocations: 4 kB / 428.7 MB, free: 9.039 MB / 334.1 MB
Notification: Performance of FrontEnd: time 7.22e-07/0.2847, allocations: 3.938 kB / 428.7 MB, free: 9.035 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 4.899e-06/0.2847, allocations: 0 / 428.7 MB, free: 9.035 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.001235/0.2859, allocations: 0.6014 MB / 429.3 MB, free: 8.395 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.2859, allocations: 12.03 kB / 429.3 MB, free: 8.383 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.967e-05/0.286, allocations: 32.75 kB / 429.4 MB, free: 8.352 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.2864, allocations: 249.8 kB / 429.6 MB, free: 8.082 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.2864, allocations: 16.88 kB / 429.6 MB, free: 8.066 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.2865, allocations: 28.36 kB / 429.7 MB, free: 8.039 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007667/0.2872, allocations: 327 kB / 430 MB, free: 7.707 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2872, allocations: 4 kB / 430 MB, free: 7.703 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.2873, allocations: 12 kB / 430 MB, free: 7.691 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2873, allocations: 4 kB / 430 MB, free: 7.688 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008737/0.2881, allocations: 285.8 kB / 430.3 MB, free: 7.41 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.2902, allocations: 1.108 MB / 431.4 MB, free: 6.227 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009687/0.2911, allocations: 246.5 kB / 431.6 MB, free: 5.977 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/0.2915, allocations: 100.8 kB / 431.7 MB, free: 5.875 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.2915, allocations: 0 / 431.7 MB, free: 5.875 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000514/0.292, allocations: 184.7 kB / 431.9 MB, free: 5.676 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.292, allocations: 0 / 431.9 MB, free: 5.676 MB / 334.1 MB
Notification: Performance of matching and sorting (n=13): time 0.002501/0.2945, allocations: 0.5877 MB / 432.5 MB, free: 5.078 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.2946, allocations: 110.8 kB / 432.6 MB, free: 4.945 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.295, allocations: 293.8 kB / 432.9 MB, free: 4.648 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.295, allocations: 25.7 kB / 432.9 MB, free: 4.617 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.2952, allocations: 200.1 kB / 433.1 MB, free: 4.418 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.52e-05/0.2952, allocations: 47.58 kB / 433.2 MB, free: 4.371 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.2953, allocations: 49.94 kB / 433.2 MB, free: 4.312 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001631/0.2955, allocations: 338.8 kB / 433.5 MB, free: 3.973 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.2959, allocations: 112.1 kB / 433.7 MB, free: 3.863 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.2963, allocations: 201.3 kB / 433.8 MB, free: 3.621 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008/0.2971, allocations: 320.6 kB / 434.2 MB, free: 3.262 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2971, allocations: 8 kB / 434.2 MB, free: 3.254 MB / 334.1 MB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.001399/0.2985, allocations: 479.7 kB / 434.6 MB, free: 2.77 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.2986, allocations: 37.69 kB / 434.7 MB, free: 2.727 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2986, allocations: 4 kB / 434.7 MB, free: 2.723 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004018/0.299, allocations: 80.81 kB / 434.8 MB, free: 2.641 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.2992, allocations: 55.95 kB / 434.8 MB, free: 2.586 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003231/0.3025, allocations: 1.954 MB / 436.8 MB, free: 0.5195 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.3028, allocations: 55.8 kB / 436.8 MB, free: 476 kB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.3029, allocations: 8.219 kB / 436.8 MB, free: 468 kB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * 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 (24):
 * Single equations (assignments): 22
 * 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.0001889/0.303, allocations: 157.7 kB / 437 MB, free: 300 kB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.3031, allocations: 31.75 kB / 437 MB, free: 268 kB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.3031, allocations: 29.77 kB / 437 MB, free: 236 kB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3031, allocations: 4.031 kB / 437 MB, free: 232 kB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.3032, allocations: 0 / 437 MB, free: 232 kB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3032, allocations: 0 / 437 MB, free: 232 kB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.3035, allocations: 300.5 kB / 437.3 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3035, allocations: 0 / 437.3 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.3037, allocations: 31.84 kB / 437.4 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/0.304, allocations: 80.94 kB / 437.5 MB, free: 15.78 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.304, allocations: 3.984 kB / 437.5 MB, free: 15.77 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002845/0.3068, allocations: 1.879 MB / 439.3 MB, free: 13.78 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3068, allocations: 4.062 kB / 439.3 MB, free: 13.78 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.308, allocations: 365.5 kB / 439.7 MB, free: 13.4 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.3081, allocations: 23.84 kB / 439.7 MB, free: 13.38 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.3081, allocations: 4 kB / 439.7 MB, free: 13.37 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.3084, allocations: 43.89 kB / 439.8 MB, free: 13.33 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/0.3085, allocations: 15.97 kB / 439.8 MB, free: 13.31 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.3085, allocations: 4 kB / 439.8 MB, free: 13.31 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002343/0.3088, allocations: 205.2 kB / 440 MB, free: 13.11 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7.1e-08/0.3088, allocations: 0 / 440 MB, free: 13.11 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004386/0.3092, allocations: 75.89 kB / 440.1 MB, free: 13.03 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.0001269/0.3093, allocations: 103.2 kB / 440.2 MB, free: 12.92 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001522/0.3108, allocations: 498.3 kB / 440.6 MB, free: 12.41 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3108, allocations: 4.062 kB / 440.6 MB, free: 12.4 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005975/0.3114, allocations: 234.2 kB / 440.9 MB, free: 12.16 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3118, allocations: 57.34 kB / 440.9 MB, free: 12.11 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/0.3153, allocations: 0.9519 MB / 441.9 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.3158, allocations: 0.7558 MB / 442.6 MB, free: 10.36 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001339/0.3159, allocations: 30.22 kB / 442.7 MB, free: 10.33 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.316, allocations: 19.44 kB / 442.7 MB, free: 10.31 MB / 350.1 MB
Notification: Performance of SimCode: time 7.71e-07/0.316, allocations: 0 / 442.7 MB, free: 10.31 MB / 350.1 MB
Notification: Performance of Templates: time 0.01011/0.3261, allocations: 4.295 MB / 447 MB, free: 6.051 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.656593116000295]