Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.0007521/0.0007521, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001794, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001171/0.001171, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.002805, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.011/1.011, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08249/1.094, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.566e-05, allocations: 6.312 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002765/0.002781, allocations: 3.013 MB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.003914, allocations: 0.7438 MB / 248.8 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.004047, allocations: 8 kB / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.00415, allocations: 51.5 kB / 248.9 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.004308, allocations: 123 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.00449, allocations: 95.83 kB / 249.1 MB, free: 9.559 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.004849, allocations: 434.2 kB / 249.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.004998, allocations: 86.3 kB / 249.6 MB, free: 9.047 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.005271, allocations: 283.9 kB / 249.9 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.005414, allocations: 127.6 kB / 250 MB, free: 8.645 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.005655, allocations: 44 kB / 250 MB, free: 8.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.846e-05/0.005693, allocations: 40 kB / 250.1 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.005738, allocations: 59.81 kB / 250.1 MB, free: 8.504 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.656e-05/0.005825, allocations: 103.8 kB / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.006058, allocations: 239.1 kB / 250.5 MB, free: 8.168 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.006072, allocations: 4 kB / 250.5 MB, free: 8.164 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.006073, allocations: 0 / 250.5 MB, free: 8.164 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.006088, allocations: 0 / 250.5 MB, free: 8.164 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007506/0.006839, allocations: 0.6232 MB / 251.1 MB, free: 7.508 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.006868, allocations: 12.03 kB / 251.1 MB, free: 7.496 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.006933, allocations: 48.89 kB / 251.1 MB, free: 7.449 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.007163, allocations: 189.3 kB / 251.3 MB, free: 7.238 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.00718, allocations: 21.03 kB / 251.4 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.007206, allocations: 32.36 kB / 251.4 MB, free: 7.188 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.007482, allocations: 272.4 kB / 251.6 MB, free: 6.891 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.007491, allocations: 192 / 251.6 MB, free: 6.891 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.007509, allocations: 12.38 kB / 251.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.007517, allocations: 15.88 kB / 251.7 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.007623, allocations: 68.56 kB / 251.7 MB, free: 6.797 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008428/0.008465, allocations: 0.7596 MB / 252.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.008634, allocations: 94.45 kB / 252.6 MB, free: 5.883 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.008673, allocations: 36.78 kB / 252.6 MB, free: 5.844 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.008695, allocations: 8 kB / 252.6 MB, free: 5.836 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.008878, allocations: 203.4 kB / 252.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.008879, allocations: 0 / 252.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005023/0.009381, allocations: 230.2 kB / 253.1 MB, free: 5.363 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.009413, allocations: 59.41 kB / 253.1 MB, free: 5.293 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.009559, allocations: 240.9 kB / 253.4 MB, free: 5.047 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.009579, allocations: 29.7 kB / 253.4 MB, free: 5.012 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.009656, allocations: 192.4 kB / 253.6 MB, free: 4.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.009684, allocations: 55.52 kB / 253.6 MB, free: 4.766 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.009743, allocations: 61.66 kB / 253.7 MB, free: 4.699 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.009821, allocations: 338.8 kB / 254 MB, free: 4.359 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.009868, allocations: 49.69 kB / 254.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.009981, allocations: 239.6 kB / 254.3 MB, free: 4 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.01011, allocations: 182.8 kB / 254.5 MB, free: 3.781 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.01012, allocations: 4 kB / 254.5 MB, free: 3.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002787/0.0104, allocations: 257.8 kB / 254.7 MB, free: 3.504 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.01043, allocations: 37.69 kB / 254.8 MB, free: 3.461 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.01044, allocations: 4 kB / 254.8 MB, free: 3.457 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.01069, allocations: 72.78 kB / 254.8 MB, free: 3.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.0108, allocations: 55.95 kB / 254.9 MB, free: 3.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.01182, allocations: 1.53 MB / 256.4 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.01196, allocations: 51.84 kB / 256.5 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.01197, allocations: 12 kB / 256.5 MB, free: 1.645 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,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,5)} Notification: Performance of prepare postOptimizeDAE: time 8.133e-05/0.01206, allocations: 125.7 kB / 256.6 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.01208, allocations: 27.91 kB / 256.6 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.01211, allocations: 26.12 kB / 256.7 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01211, allocations: 3.984 kB / 256.7 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.01211, allocations: 0 / 256.7 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01211, allocations: 0 / 256.7 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.01223, allocations: 157.8 kB / 256.8 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01224, allocations: 0 / 256.8 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.01228, allocations: 15.98 kB / 256.8 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.01231, allocations: 27.8 kB / 256.9 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/0.0125, allocations: 80.66 kB / 256.9 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002738/0.01277, allocations: 4 kB / 257 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008548/0.01363, allocations: 1.522 MB / 258.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01363, allocations: 0 / 258.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.01381, allocations: 169.7 kB / 258.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.01383, allocations: 8 kB / 258.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.01391, allocations: 19.97 kB / 258.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.01396, allocations: 27.95 kB / 258.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.01397, allocations: 4 kB / 258.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.402e-05/0.01404, allocations: 86.7 kB / 258.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.01404, allocations: 0 / 258.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.01428, allocations: 87.84 kB / 258.9 MB, free: 15.12 MB / 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 8.81e-05/0.01437, allocations: 88.41 kB / 259 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003051/0.01467, allocations: 325.4 kB / 259.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.01468, allocations: 4 kB / 259.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.01482, allocations: 188 kB / 259.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.01498, allocations: 72.41 kB / 259.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.01668, allocations: 0.54 MB / 260.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.162e-05/0.01673, allocations: 92.25 kB / 260.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.779e-05/0.01681, allocations: 30.27 kB / 260.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.01693, allocations: 103.3 kB / 260.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01693, allocations: 0 / 260.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of Templates: time 0.006878/0.02381, allocations: 4.786 MB / 265.1 MB, free: 8.883 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.513140343129635]