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.0009993/0.0009993, allocations: 91.67 kB / 21.2 MB, free: 3.367 MB / 18.57 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.0009664/0.0009664, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 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.002/1.002, allocations: 177 MB / 204.8 MB, free: 5.633 MB / 186.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.502e-06/1.502e-06, allocations: 0 / 273 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.554e-05, allocations: 2.312 kB / 273 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002816/0.002832, allocations: 2.978 MB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.003962, allocations: 0.7283 MB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.004099, allocations: 11.94 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.004249, allocations: 47.5 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.004422, allocations: 115 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.004674, allocations: 99.77 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.005013, allocations: 426.2 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.005209, allocations: 95.58 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.005467, allocations: 231.5 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.005618, allocations: 139.5 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.005662, allocations: 40 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.845e-05/0.0057, allocations: 40 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.005755, allocations: 87.67 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.536e-05/0.00585, allocations: 127.7 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.006113, allocations: 259.1 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.006115, allocations: 0 / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.006116, allocations: 0 / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.00612, allocations: 4 kB / 278.3 MB, free: 12.02 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007643/0.006884, allocations: 0.6857 MB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.006921, allocations: 11.98 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.488e-05/0.007006, allocations: 56.75 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.007305, allocations: 252 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.007322, allocations: 17.03 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.007359, allocations: 28.38 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.00771, allocations: 296.4 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.007721, allocations: 4.172 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.007745, allocations: 12.38 kB / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.007755, allocations: 7.938 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.007929, allocations: 103.9 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.008971, allocations: 0.9481 MB / 280.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.009188, allocations: 115.2 kB / 280.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.009248, allocations: 46.48 kB / 280.9 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.009265, allocations: 4 kB / 280.9 MB, free: 9.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.009456, allocations: 225 kB / 281.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.009458, allocations: 0 / 281.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005834/0.01004, allocations: 276.9 kB / 281.4 MB, free: 8.727 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.01011, allocations: 136.5 kB / 281.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.01031, allocations: 312.2 kB / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.01033, allocations: 33.7 kB / 281.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.605e-05/0.01043, allocations: 242.8 kB / 282.1 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.01046, allocations: 63.52 kB / 282.2 MB, free: 7.895 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.01052, allocations: 55.36 kB / 282.2 MB, free: 7.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.01064, allocations: 0.504 MB / 282.7 MB, free: 7.316 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.01072, allocations: 61.67 kB / 282.8 MB, free: 7.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.01087, allocations: 294 kB / 283.1 MB, free: 6.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.01105, allocations: 221.9 kB / 283.3 MB, free: 6.605 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01106, allocations: 4 kB / 283.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004122/0.01147, allocations: 328.4 kB / 283.6 MB, free: 6.258 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.01149, allocations: 33.7 kB / 283.7 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.0115, allocations: 4 kB / 283.7 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.01176, allocations: 91.62 kB / 283.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.01186, allocations: 43.92 kB / 283.8 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.01312, allocations: 2.24 MB / 286 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.01327, allocations: 51.8 kB / 286.1 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.01328, allocations: 11.98 kB / 286.1 MB, free: 3.648 MB / 266.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 0.0001005/0.01338, allocations: 176.5 kB / 286.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.01341, allocations: 31.86 kB / 286.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.01344, allocations: 30.05 kB / 286.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01344, allocations: 4.25 kB / 286.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01345, allocations: 0 / 286.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01345, allocations: 8 kB / 286.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.01361, allocations: 232.3 kB / 286.6 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01361, allocations: 0 / 286.6 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.01366, allocations: 19.98 kB / 286.6 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.01386, allocations: 83.55 kB / 286.7 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01387, allocations: 4 kB / 286.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.01495, allocations: 2.229 MB / 288.9 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01495, allocations: 0 / 288.9 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.01521, allocations: 222.6 kB / 289.1 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.01524, allocations: 31.78 kB / 289.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.01526, allocations: 4 kB / 289.2 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.01534, allocations: 23.98 kB / 289.2 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.0154, allocations: 19.95 kB / 289.2 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.0154, allocations: 4 kB / 289.2 MB, free: 352 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.01552, allocations: 221 kB / 289.4 MB, free: 132 kB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01552, allocations: 0 / 289.4 MB, free: 132 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.01578, allocations: 91.78 kB / 289.5 MB, free: 40 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: 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.275e-05/0.01586, allocations: 106.9 kB / 289.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003917/0.01625, allocations: 401.4 kB / 290 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01625, allocations: 4 kB / 290 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.01643, allocations: 254 kB / 290.3 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.01661, allocations: 48.41 kB / 290.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.01764, allocations: 0.5144 MB / 290.8 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.088e-05/0.01772, allocations: 92.23 kB / 290.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.441e-05/0.01779, allocations: 26.3 kB / 290.9 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.01784, allocations: 20.5 kB / 291 MB, free: 14.47 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01784, allocations: 3.938 kB / 291 MB, free: 14.47 MB / 282.7 MB Notification: Performance of Templates: time 0.005861/0.0237, allocations: 4.63 MB / 295.6 MB, free: 9.91 MB / 282.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 -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.817229366861284]