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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009386/0.0009386, allocations: 95.41 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 204.7 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002184/0.0002184, allocations: 8.281 kB / 308.4 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0979/0.09813, allocations: 51.52 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003352/0.1015, allocations: 2.626 MB / 362.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1032, allocations: 0.7442 MB / 363.3 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002977/0.1035, allocations: 4 kB / 363.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.1037, allocations: 39.69 kB / 363.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.1041, allocations: 91.38 kB / 363.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.1044, allocations: 99.91 kB / 363.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005075/0.105, allocations: 390.4 kB / 363.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.1052, allocations: 99.83 kB / 364 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.1055, allocations: 135.4 kB / 364.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.1057, allocations: 159.2 kB / 364.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.1058, allocations: 16 kB / 364.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.615e-05/0.1058, allocations: 20 kB / 364.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.1059, allocations: 55.75 kB / 364.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.1061, allocations: 168.9 kB / 364.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.1065, allocations: 351.2 kB / 364.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1065, allocations: 0 / 364.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1065, allocations: 0 / 364.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.1065, allocations: 0 / 364.9 MB, free: 8.285 MB / 302.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.001292/0.1078, allocations: 0.6459 MB / 365.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1079, allocations: 12.03 kB / 365.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.108, allocations: 32.56 kB / 365.6 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.1084, allocations: 299.6 kB / 365.9 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.1084, allocations: 20.94 kB / 365.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.1085, allocations: 24.38 kB / 365.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007724/0.1092, allocations: 351.9 kB / 366.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1093, allocations: 4 kB / 366.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.1093, allocations: 12 kB / 366.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1093, allocations: 4 kB / 366.3 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008675/0.1102, allocations: 310.1 kB / 366.6 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.1121, allocations: 1.182 MB / 367.8 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008759/0.113, allocations: 282.5 kB / 368 MB, free: 4.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.1134, allocations: 124.7 kB / 368.2 MB, free: 4.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1134, allocations: 4 kB / 368.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004902/0.1139, allocations: 193.9 kB / 368.4 MB, free: 4.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1139, allocations: 0 / 368.4 MB, free: 4.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002456/0.1164, allocations: 0.749 MB / 369.1 MB, free: 3.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.1164, allocations: 106.8 kB / 369.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.1168, allocations: 286.6 kB / 369.5 MB, free: 3.398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.1168, allocations: 29.7 kB / 369.5 MB, free: 3.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.1169, allocations: 199.5 kB / 369.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.117, allocations: 43.45 kB / 369.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.117, allocations: 33.7 kB / 369.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1172, allocations: 330.8 kB / 370.1 MB, free: 2.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.1175, allocations: 128.1 kB / 370.2 MB, free: 2.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.118, allocations: 225.3 kB / 370.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007855/0.1188, allocations: 344.6 kB / 370.8 MB, free: 1.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1188, allocations: 4 kB / 370.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001335/0.1202, allocations: 0.5074 MB / 371.3 MB, free: 1.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.1202, allocations: 37.7 kB / 371.3 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.1202, allocations: 12.05 kB / 371.4 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/0.1206, allocations: 88.8 kB / 371.4 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.1209, allocations: 63.84 kB / 371.5 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.184/0.3049, allocations: 1.903 MB / 373.4 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.3054, allocations: 68.64 kB / 373.5 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.56e-05/0.3054, allocations: 11.83 kB / 373.5 MB, free: 18.16 MB / 302.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.0002019/0.3056, allocations: 157.2 kB / 373.6 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.3057, allocations: 29.33 kB / 373.7 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.3058, allocations: 27 kB / 373.7 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3058, allocations: 2.094 kB / 373.7 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3058, allocations: 0.625 kB / 373.7 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3058, allocations: 0.8438 kB / 373.7 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.3062, allocations: 333.8 kB / 374 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3062, allocations: 0.75 kB / 374 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.3064, allocations: 33.19 kB / 374.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000317/0.3067, allocations: 86.69 kB / 374.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.3067, allocations: 2.203 kB / 374.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.3089, allocations: 1.814 MB / 376 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3089, allocations: 4.5 kB / 376 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.3101, allocations: 409.3 kB / 376.4 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.3102, allocations: 102.3 kB / 376.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.3102, allocations: 5.234 kB / 376.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.3105, allocations: 45.58 kB / 376.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.438e-05/0.3106, allocations: 17.8 kB / 376.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3106, allocations: 7.281 kB / 376.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.3108, allocations: 202.4 kB / 376.7 MB, free: 16.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3108, allocations: 0 / 376.7 MB, free: 16.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004657/0.3113, allocations: 81.12 kB / 376.8 MB, free: 16.25 MB / 302.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.000135/0.3115, allocations: 107.1 kB / 376.9 MB, free: 16.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.313, allocations: 0.5296 MB / 377.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.313, allocations: 3.562 kB / 377.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.3135, allocations: 252.6 kB / 377.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3139, allocations: 53.31 kB / 377.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.3173, allocations: 1.147 MB / 378.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.3175, allocations: 0.7556 MB / 379.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.3176, allocations: 24.61 kB / 379.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3176, allocations: 4 kB / 379.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Templates: time 0.009087/0.3267, allocations: 4.719 MB / 384.4 MB, free: 14.23 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches