Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.061/1.061, allocations: 177.1 MB / 205 MB, free: 5.215 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.375e-05/3.538e-05, allocations: 6.312 kB / 273 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.005122/0.005158, allocations: 2.947 MB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.007174, allocations: 0.7556 MB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003168/0.007491, allocations: 7.938 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.007746, allocations: 43.56 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.008106, allocations: 107.1 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.008609, allocations: 119.8 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006642/0.009273, allocations: 434.2 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.009585, allocations: 87.59 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.01002, allocations: 239.4 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.01031, allocations: 139.6 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.291e-05/0.01041, allocations: 40 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.191e-05/0.01048, allocations: 40 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.071e-05/0.01056, allocations: 83.67 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.01074, allocations: 119.7 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.01137, allocations: 255.1 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.01138, allocations: 4 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.01138, allocations: 0 / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.01139, allocations: 4 kB / 278.4 MB, free: 11.93 MB / 266.7 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.001329/0.01272, allocations: 0.6857 MB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.01278, allocations: 8.031 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.01293, allocations: 56.7 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.01338, allocations: 248 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.01341, allocations: 20.88 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.01345, allocations: 24.38 kB / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006145/0.01407, allocations: 301.1 kB / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.01408, allocations: 192 / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.01412, allocations: 16.31 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.01413, allocations: 7.938 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.01443, allocations: 106.9 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.01626, allocations: 1.041 MB / 280.9 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.01664, allocations: 119.1 kB / 281 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.01675, allocations: 35.67 kB / 281.1 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.01678, allocations: 0 / 281.1 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.01705, allocations: 175.5 kB / 281.2 MB, free: 8.895 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.01705, allocations: 4 kB / 281.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001174/0.01823, allocations: 320.9 kB / 281.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.01831, allocations: 102.8 kB / 281.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.01862, allocations: 312.2 kB / 282 MB, free: 8.117 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.01865, allocations: 29.7 kB / 282 MB, free: 8.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.01881, allocations: 250.7 kB / 282.2 MB, free: 7.832 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.01886, allocations: 51.62 kB / 282.3 MB, free: 7.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.01896, allocations: 59.55 kB / 282.3 MB, free: 7.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.01914, allocations: 0.5079 MB / 282.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.01928, allocations: 57.86 kB / 282.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.0195, allocations: 252.8 kB / 283.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.01999, allocations: 225.5 kB / 283.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.02, allocations: 0 / 283.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006766/0.02067, allocations: 331.2 kB / 283.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.02072, allocations: 41.69 kB / 283.7 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.02073, allocations: 4 kB / 283.7 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004649/0.0212, allocations: 79.72 kB / 283.8 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.02137, allocations: 43.92 kB / 283.9 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.02346, allocations: 2.184 MB / 286.1 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.02375, allocations: 51.73 kB / 286.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.02378, allocations: 11.98 kB / 286.1 MB, free: 3.629 MB / 266.7 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.0001603/0.02394, allocations: 168.6 kB / 286.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.02399, allocations: 31.8 kB / 286.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.02404, allocations: 29.92 kB / 286.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.02404, allocations: 4 kB / 286.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.02405, allocations: 3.938 kB / 286.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.02405, allocations: 0 / 286.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.02434, allocations: 224.4 kB / 286.6 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02434, allocations: 0 / 286.6 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.103e-05/0.02443, allocations: 19.98 kB / 286.6 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003046/0.02473, allocations: 87.59 kB / 286.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.02475, allocations: 4 kB / 286.7 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.02632, allocations: 2.122 MB / 288.8 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.02632, allocations: 3.938 kB / 288.8 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/0.02674, allocations: 221.9 kB / 289 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.02678, allocations: 23.86 kB / 289 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.02681, allocations: 0 / 289 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.02696, allocations: 27.97 kB / 289.1 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/0.02706, allocations: 19.97 kB / 289.1 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.02708, allocations: 4 kB / 289.1 MB, free: 464 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001984/0.02728, allocations: 217.1 kB / 289.3 MB, free: 248 kB / 266.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.02728, allocations: 0 / 289.3 MB, free: 248 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004657/0.02774, allocations: 87.78 kB / 289.4 MB, free: 160 kB / 266.7 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.0001535/0.0279, allocations: 99.19 kB / 289.5 MB, free: 52 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.126/0.1539, allocations: 411.2 kB / 289.9 MB, free: 25.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.1539, allocations: 3.188 kB / 289.9 MB, free: 25.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.1542, allocations: 236.6 kB / 290.1 MB, free: 25.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1546, allocations: 50.09 kB / 290.2 MB, free: 25.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.1564, allocations: 0.7001 MB / 290.9 MB, free: 25.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.081e-05/0.1564, allocations: 83.67 kB / 291 MB, free: 25.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.773e-05/0.1565, allocations: 30.05 kB / 291 MB, free: 25.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.1566, allocations: 22.28 kB / 291 MB, free: 25.09 MB / 266.7 MB Notification: Performance of SimCode: time 2.915e-06/0.1566, allocations: 0 / 291 MB, free: 25.09 MB / 266.7 MB Notification: Performance of Templates: time 0.009236/0.1658, allocations: 4.182 MB / 295.2 MB, free: 24.76 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.122791083995253]