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.001524/0.001523, allocations: 113 kB / 17.68 MB, free: 5.473 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.001756/0.001756, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.526/1.526, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 49.69 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1674, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.006905/0.1744, allocations: 2.917 MB / 354.4 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1761, allocations: 0.7402 MB / 355.2 MB, free: 4 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.1763, allocations: 4 kB / 355.2 MB, free: 0 / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.1766, allocations: 51.61 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.1769, allocations: 91.19 kB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.1773, allocations: 123.8 kB / 355.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005446/0.1778, allocations: 414.3 kB / 355.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.1782, allocations: 131.2 kB / 356 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.1784, allocations: 163.4 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.1787, allocations: 163.4 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.048e-05/0.1788, allocations: 40 kB / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.1788, allocations: 40 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.68e-05/0.179, allocations: 87.61 kB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.1792, allocations: 175.1 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.1797, allocations: 458.5 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1797, allocations: 0 / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1797, allocations: 0 / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.1797, allocations: 0 / 357.1 MB, free: 14.09 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.001335/0.1811, allocations: 0.6769 MB / 357.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1811, allocations: 11.89 kB / 357.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.1812, allocations: 36.56 kB / 357.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.1817, allocations: 303.6 kB / 358.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.1817, allocations: 16.94 kB / 358.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.1818, allocations: 28.38 kB / 358.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007182/0.1825, allocations: 327.9 kB / 358.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1825, allocations: 0 / 358.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.1826, allocations: 12 kB / 358.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1826, allocations: 8 kB / 358.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.1834, allocations: 282 kB / 358.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.1854, allocations: 1.154 MB / 359.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008505/0.1863, allocations: 246.6 kB / 360.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.1866, allocations: 108.7 kB / 360.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.1867, allocations: 4 kB / 360.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.1872, allocations: 179.9 kB / 360.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.1872, allocations: 0 / 360.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002398/0.1896, allocations: 0.6667 MB / 361.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.1897, allocations: 102.8 kB / 361.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.19, allocations: 294.5 kB / 361.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.19, allocations: 33.7 kB / 361.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.1902, allocations: 195.6 kB / 361.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.1902, allocations: 43.45 kB / 361.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/0.1903, allocations: 49.84 kB / 361.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1905, allocations: 338.8 kB / 362.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.1908, allocations: 108.1 kB / 362.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.1913, allocations: 213.7 kB / 362.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/0.192, allocations: 316.6 kB / 362.7 MB, free: 8.008 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.192, allocations: 4 kB / 362.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001257/0.1932, allocations: 478.3 kB / 363.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.1933, allocations: 33.7 kB / 363.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.1933, allocations: 4 kB / 363.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004733/0.1938, allocations: 92.84 kB / 363.3 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.194, allocations: 51.89 kB / 363.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/0.197, allocations: 2.06 MB / 365.5 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.1974, allocations: 63.73 kB / 365.5 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.1975, allocations: 12.22 kB / 365.5 MB, free: 5.062 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.0001861/0.1977, allocations: 153.7 kB / 365.7 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.1977, allocations: 27.66 kB / 365.7 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.1978, allocations: 25.83 kB / 365.7 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1978, allocations: 0 / 365.7 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1978, allocations: 4 kB / 365.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1978, allocations: 0 / 365.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.1981, allocations: 333.2 kB / 366.1 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1981, allocations: 0 / 366.1 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.1983, allocations: 23.97 kB / 366.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.1986, allocations: 84.84 kB / 366.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.1986, allocations: 7.984 kB / 366.2 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.2011, allocations: 1.978 MB / 368.2 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2011, allocations: 3.938 kB / 368.2 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.2021, allocations: 376.4 kB / 368.5 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-05/0.2023, allocations: 96.83 kB / 368.6 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.2023, allocations: 7.984 kB / 368.6 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.2026, allocations: 35.91 kB / 368.7 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.2027, allocations: 23.97 kB / 368.7 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2027, allocations: 0 / 368.7 MB, free: 1.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002163/0.2029, allocations: 206 kB / 368.9 MB, free: 1.469 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2029, allocations: 0 / 368.9 MB, free: 1.469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005005/0.2034, allocations: 79.78 kB / 369 MB, free: 1.391 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.0002312/0.2037, allocations: 103.2 kB / 369.1 MB, free: 1.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.205, allocations: 0.49 MB / 369.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.205, allocations: 0 / 369.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.2056, allocations: 247.1 kB / 369.8 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.2059, allocations: 51.7 kB / 369.9 MB, free: 472 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2692/0.4751, allocations: 0.9123 MB / 370.8 MB, free: 25.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.4756, allocations: 0.7601 MB / 371.5 MB, free: 24.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000207/0.4758, allocations: 26.45 kB / 371.5 MB, free: 24.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.4759, allocations: 21.52 kB / 371.6 MB, free: 24.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.024e-06/0.4759, allocations: 1.438 kB / 371.6 MB, free: 24.75 MB / 302.1 MB Notification: Performance of Templates: time 0.01506/0.4909, allocations: 4.082 MB / 375.7 MB, free: 24.68 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 -s cvode -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