Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001939/0.001939, allocations: 109 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.002739/0.002739, allocations: 213.9 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.517/1.517, allocations: 230.3 MB / 258 MB, free: 8.223 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.88 kB / 378.8 MB, free: 2.766 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.284, allocations: 53.36 MB / 432.1 MB, free: 7.09 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004576/0.2886, allocations: 2.918 MB / 435.1 MB, free: 4.16 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001351/0.2899, allocations: 0.7597 MB / 435.8 MB, free: 3.395 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.29, allocations: 7.938 kB / 435.8 MB, free: 3.387 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.2902, allocations: 43.56 kB / 435.9 MB, free: 3.344 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.2904, allocations: 99.19 kB / 436 MB, free: 3.246 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.2907, allocations: 115.8 kB / 436.1 MB, free: 3.133 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004445/0.2912, allocations: 390.5 kB / 436.5 MB, free: 2.75 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.2914, allocations: 99.66 kB / 436.6 MB, free: 2.648 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.2917, allocations: 163.4 kB / 436.7 MB, free: 2.488 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.2919, allocations: 167.3 kB / 436.9 MB, free: 2.324 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.292, allocations: 36 kB / 436.9 MB, free: 2.289 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.292, allocations: 40 kB / 437 MB, free: 2.25 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.2921, allocations: 75.7 kB / 437 MB, free: 2.176 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.2923, allocations: 167.2 kB / 437.2 MB, free: 2.012 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004934/0.2928, allocations: 420.1 kB / 437.6 MB, free: 1.605 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2928, allocations: 4 kB / 437.6 MB, free: 1.602 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.032e-06/0.2928, allocations: 0 / 437.6 MB, free: 1.602 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.212e-06/0.2928, allocations: 7.938 kB / 437.6 MB, free: 1.594 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.001339/0.2941, allocations: 0.5887 MB / 438.2 MB, free: 0.9688 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2942, allocations: 12.03 kB / 438.2 MB, free: 0.957 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.2943, allocations: 32.75 kB / 438.3 MB, free: 0.9258 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.2947, allocations: 234.9 kB / 438.5 MB, free: 0.6719 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2947, allocations: 24.81 kB / 438.5 MB, free: 0.6484 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.2948, allocations: 24.38 kB / 438.5 MB, free: 0.625 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007516/0.2955, allocations: 319 kB / 438.8 MB, free: 308 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2955, allocations: 0 / 438.8 MB, free: 308 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.2956, allocations: 12 kB / 438.9 MB, free: 296 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.2956, allocations: 8 kB / 438.9 MB, free: 288 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008543/0.2964, allocations: 269.8 kB / 439.1 MB, free: 16 kB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.2986, allocations: 1.13 MB / 440.3 MB, free: 14.8 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009511/0.2995, allocations: 238.5 kB / 440.5 MB, free: 14.56 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.2999, allocations: 96.78 kB / 440.6 MB, free: 14.46 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.2999, allocations: 0 / 440.6 MB, free: 14.46 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004883/0.3004, allocations: 169 kB / 440.7 MB, free: 14.28 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.3004, allocations: 3.938 kB / 440.8 MB, free: 14.28 MB / 350.1 MB
Notification: Performance of matching and sorting (n=12): time 0.0022/0.3026, allocations: 0.5178 MB / 441.3 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.3027, allocations: 85.05 kB / 441.4 MB, free: 13.65 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.303, allocations: 261.9 kB / 441.6 MB, free: 13.38 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.303, allocations: 29.7 kB / 441.6 MB, free: 13.35 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.3032, allocations: 204 kB / 441.8 MB, free: 13.14 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.3032, allocations: 43.64 kB / 441.9 MB, free: 13.1 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.3033, allocations: 49.69 kB / 441.9 MB, free: 13.05 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001651/0.3035, allocations: 330.8 kB / 442.3 MB, free: 12.71 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.3039, allocations: 104.1 kB / 442.4 MB, free: 12.61 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.3043, allocations: 195.5 kB / 442.5 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/0.3051, allocations: 299.8 kB / 442.8 MB, free: 12.04 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3051, allocations: 0 / 442.8 MB, free: 12.04 MB / 350.1 MB
Notification: Performance of matching and sorting (n=27) (initialization): time 0.001331/0.3064, allocations: 450.7 kB / 443.3 MB, free: 11.59 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/0.3065, allocations: 41.58 kB / 443.3 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3065, allocations: 4 kB / 443.3 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/0.3068, allocations: 64.8 kB / 443.4 MB, free: 11.47 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.3071, allocations: 63.95 kB / 443.4 MB, free: 11.41 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.3095, allocations: 1.529 MB / 445 MB, free: 9.766 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.3098, allocations: 55.73 kB / 445 MB, free: 9.711 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.3099, allocations: 12 kB / 445 MB, free: 9.699 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.0001804/0.3101, allocations: 149.8 kB / 445.2 MB, free: 9.543 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.3101, allocations: 23.86 kB / 445.2 MB, free: 9.52 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.3102, allocations: 25.7 kB / 445.2 MB, free: 9.492 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.3102, allocations: 4 kB / 445.2 MB, free: 9.488 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.3102, allocations: 0 / 445.2 MB, free: 9.488 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3102, allocations: 0 / 445.2 MB, free: 9.488 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.3105, allocations: 288.5 kB / 445.5 MB, free: 9.164 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3105, allocations: 0 / 445.5 MB, free: 9.164 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.3107, allocations: 35.97 kB / 445.6 MB, free: 9.129 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/0.311, allocations: 64.8 kB / 445.6 MB, free: 9.062 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.311, allocations: 0 / 445.6 MB, free: 9.062 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.3133, allocations: 1.533 MB / 447.2 MB, free: 7.414 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3133, allocations: 0 / 447.2 MB, free: 7.414 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.3148, allocations: 457.5 kB / 447.6 MB, free: 6.945 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.3149, allocations: 23.83 kB / 447.6 MB, free: 6.922 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.3149, allocations: 7.984 kB / 447.6 MB, free: 6.914 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.3152, allocations: 27.97 kB / 447.7 MB, free: 6.887 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.3152, allocations: 15.97 kB / 447.7 MB, free: 6.871 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3153, allocations: 4 kB / 447.7 MB, free: 6.867 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002322/0.3155, allocations: 193.3 kB / 447.9 MB, free: 6.68 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.3155, allocations: 0 / 447.9 MB, free: 6.68 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003927/0.3159, allocations: 71.88 kB / 447.9 MB, free: 6.609 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.000157/0.316, allocations: 95.25 kB / 448 MB, free: 6.504 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001123/0.3172, allocations: 409.7 kB / 448.4 MB, free: 6.078 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3172, allocations: 0 / 448.4 MB, free: 6.078 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000487/0.3177, allocations: 219.2 kB / 448.6 MB, free: 5.852 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.318, allocations: 52.03 kB / 448.7 MB, free: 5.805 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.3218, allocations: 0.8649 MB / 449.6 MB, free: 4.914 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.3222, allocations: 0.7519 MB / 450.3 MB, free: 4.137 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001161/0.3223, allocations: 34.25 kB / 450.3 MB, free: 4.105 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.3224, allocations: 19.44 kB / 450.4 MB, free: 4.086 MB / 350.1 MB
Notification: Performance of SimCode: time 1.062e-06/0.3224, allocations: 0 / 450.4 MB, free: 4.086 MB / 350.1 MB
Notification: Performance of Templates: time 0.009535/0.332, allocations: 3.872 MB / 454.2 MB, free: 260 kB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.765270489268005]