Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 110.1 kB / 17.29 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 193.3 kB / 18.21 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 51.28 kB / 300.8 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09556/0.09672, allocations: 49.45 MB / 350.3 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004515/0.1013, allocations: 2.967 MB / 353.2 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1029, allocations: 0.7207 MB / 353.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.1033, allocations: 7.938 kB / 353.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.1036, allocations: 35.75 kB / 354 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.104, allocations: 95.3 kB / 354.1 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.1044, allocations: 91.92 kB / 354.2 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005824/0.105, allocations: 418.4 kB / 354.6 MB, free: 400 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.1053, allocations: 135.2 kB / 354.7 MB, free: 264 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.1055, allocations: 151.4 kB / 354.9 MB, free: 112 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.1058, allocations: 171.3 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.836e-05/0.106, allocations: 40 kB / 355.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-05/0.1061, allocations: 40 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.1061, allocations: 83.69 kB / 355.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.1063, allocations: 183 kB / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004227/0.1068, allocations: 363.3 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1068, allocations: 8 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1068, allocations: 0 / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.1068, allocations: 0 / 355.7 MB, free: 15.24 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.00147/0.1083, allocations: 0.6652 MB / 356.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1083, allocations: 15.89 kB / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.1085, allocations: 32.56 kB / 356.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.1088, allocations: 303.5 kB / 356.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1089, allocations: 20.88 kB / 356.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.1089, allocations: 24.38 kB / 356.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007397/0.1097, allocations: 328 kB / 357.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1097, allocations: 4 kB / 357.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.1097, allocations: 4 kB / 357.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.1097, allocations: 8 kB / 357.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008078/0.1105, allocations: 294 kB / 357.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.1125, allocations: 1.139 MB / 358.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008244/0.1133, allocations: 254.5 kB / 358.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.1137, allocations: 108.8 kB / 358.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1137, allocations: 0 / 358.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005268/0.1142, allocations: 196 kB / 359.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 3.086e-06/0.1143, allocations: 3.984 kB / 359.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002264/0.1165, allocations: 0.6628 MB / 359.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.1166, allocations: 102.8 kB / 359.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.1169, allocations: 286.6 kB / 360.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.117, allocations: 33.7 kB / 360.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1171, allocations: 203.5 kB / 360.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.1172, allocations: 43.45 kB / 360.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-05/0.1173, allocations: 53.84 kB / 360.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1174, allocations: 334.8 kB / 360.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.1177, allocations: 104.2 kB / 360.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.1182, allocations: 205.5 kB / 361.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.1189, allocations: 327.2 kB / 361.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1189, allocations: 7.938 kB / 361.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001231/0.1201, allocations: 479.6 kB / 361.9 MB, free: 8.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.1202, allocations: 33.7 kB / 361.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.1202, allocations: 4 kB / 361.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004369/0.1206, allocations: 84.86 kB / 362 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.1208, allocations: 55.84 kB / 362.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.1237, allocations: 2.06 MB / 364.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.1241, allocations: 55.94 kB / 364.2 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.1241, allocations: 16 kB / 364.2 MB, free: 6.211 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.0001842/0.1243, allocations: 153.7 kB / 364.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.1243, allocations: 23.66 kB / 364.4 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/0.1244, allocations: 29.83 kB / 364.4 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1244, allocations: 0 / 364.4 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.1244, allocations: 0 / 364.4 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1244, allocations: 4 kB / 364.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.1248, allocations: 333.2 kB / 364.7 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1248, allocations: 0 / 364.7 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.1249, allocations: 23.97 kB / 364.7 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/0.1252, allocations: 88.83 kB / 364.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.1253, allocations: 4 kB / 364.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/0.1277, allocations: 1.97 MB / 366.8 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1277, allocations: 128 / 366.8 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.1288, allocations: 376.8 kB / 367.2 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.1289, allocations: 100.8 kB / 367.3 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.129, allocations: 8 kB / 367.3 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.1292, allocations: 39.89 kB / 367.3 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/0.1293, allocations: 19.98 kB / 367.3 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.1294, allocations: 7.984 kB / 367.3 MB, free: 2.816 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.1296, allocations: 194 kB / 367.5 MB, free: 2.629 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1296, allocations: 0 / 367.5 MB, free: 2.629 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004243/0.13, allocations: 83.78 kB / 367.6 MB, free: 2.547 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.0001509/0.1302, allocations: 115.2 kB / 367.7 MB, free: 2.422 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.1314, allocations: 0.4939 MB / 368.2 MB, free: 1.902 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1315, allocations: 0.625 kB / 368.2 MB, free: 1.902 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.1319, allocations: 238.5 kB / 368.5 MB, free: 1.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1323, allocations: 48.5 kB / 368.5 MB, free: 1.609 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.1354, allocations: 1.064 MB / 369.6 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1411/0.2765, allocations: 0.7525 MB / 370.3 MB, free: 25.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.2767, allocations: 20.66 kB / 370.3 MB, free: 25.17 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2767, allocations: 0.5625 kB / 370.3 MB, free: 25.17 MB / 302.1 MB Notification: Performance of Templates: time 0.007677/0.2844, allocations: 4.777 MB / 375.1 MB, free: 24.96 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches