Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000852/0.000852, allocations: 179.2 kB / 17.04 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 223.3 MB / 241 MB, free: 11.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007534/0.0007534, allocations: 88.8 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002061/0.0002061, allocations: 7.938 kB / 351.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1741, allocations: 50.41 MB / 402.2 MB, free: 32.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002106/0.1762, allocations: 2.352 MB / 404.6 MB, free: 30.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009147/0.1772, allocations: 0.6244 MB / 405.2 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.1774, allocations: 4 kB / 405.2 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.1775, allocations: 27.77 kB / 405.2 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.1777, allocations: 82.08 kB / 405.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.1779, allocations: 55.88 kB / 405.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1781, allocations: 350.3 kB / 405.7 MB, free: 29.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.1783, allocations: 90 kB / 405.8 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1784, allocations: 119.6 kB / 405.9 MB, free: 28.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1785, allocations: 143.4 kB / 406 MB, free: 28.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.1786, allocations: 16 kB / 406.1 MB, free: 28.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.079e-05/0.1786, allocations: 20 kB / 406.1 MB, free: 28.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.1787, allocations: 55.75 kB / 406.1 MB, free: 28.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.1787, allocations: 77.58 kB / 406.2 MB, free: 28.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.1789, allocations: 276.7 kB / 406.5 MB, free: 28.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1789, allocations: 0 / 406.5 MB, free: 28.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1789, allocations: 4 kB / 406.5 MB, free: 28.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.179, allocations: 0 / 406.5 MB, free: 28.31 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009824/0.1799, allocations: 0.6185 MB / 407.1 MB, free: 27.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.18, allocations: 11.97 kB / 407.1 MB, free: 27.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.18, allocations: 35.58 kB / 407.1 MB, free: 27.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.1803, allocations: 267.5 kB / 407.4 MB, free: 27.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1803, allocations: 24.55 kB / 407.4 MB, free: 27.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.1803, allocations: 24 kB / 407.5 MB, free: 27.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.1809, allocations: 315.3 kB / 407.8 MB, free: 26.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1809, allocations: 0 / 407.8 MB, free: 26.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.181, allocations: 12 kB / 407.8 MB, free: 26.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.181, allocations: 8 kB / 407.8 MB, free: 26.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006877/0.1817, allocations: 269.5 kB / 408 MB, free: 26.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.1829, allocations: 1.124 MB / 409.2 MB, free: 25.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.1836, allocations: 238.6 kB / 409.4 MB, free: 25.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.1839, allocations: 104.8 kB / 409.5 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1839, allocations: 3.953 kB / 409.5 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003929/0.1843, allocations: 177.9 kB / 409.7 MB, free: 24.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.1844, allocations: 0 / 409.7 MB, free: 24.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001812/0.1862, allocations: 0.546 MB / 410.2 MB, free: 24.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.1862, allocations: 110.8 kB / 410.3 MB, free: 24.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.1864, allocations: 278.7 kB / 410.6 MB, free: 23.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1865, allocations: 33.69 kB / 410.6 MB, free: 23.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.1865, allocations: 203.5 kB / 410.8 MB, free: 23.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.1866, allocations: 39.45 kB / 410.9 MB, free: 23.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.1866, allocations: 4 kB / 410.9 MB, free: 23.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.1866, allocations: 334.8 kB / 411.2 MB, free: 23.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.1869, allocations: 104.2 kB / 411.3 MB, free: 23.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.1873, allocations: 212.6 kB / 411.5 MB, free: 22.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.1876, allocations: 148.6 kB / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1876, allocations: 0 / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001019/0.1886, allocations: 455.6 kB / 412.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.1886, allocations: 33.69 kB / 412.1 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1887, allocations: 7.938 kB / 412.1 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000282/0.1889, allocations: 64.81 kB / 412.2 MB, free: 22.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.1892, allocations: 67.98 kB / 412.3 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/0.1908, allocations: 1.581 MB / 413.9 MB, free: 20.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.1911, allocations: 63.72 kB / 413.9 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.1911, allocations: 15.98 kB / 413.9 MB, free: 20.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 9.864e-05/0.1912, allocations: 145.7 kB / 414.1 MB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.1913, allocations: 27.7 kB / 414.1 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.1913, allocations: 29.64 kB / 414.1 MB, free: 20.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.1913, allocations: 0 / 414.1 MB, free: 20.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.1913, allocations: 0 / 414.1 MB, free: 20.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1913, allocations: 4 kB / 414.1 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1915, allocations: 305.3 kB / 414.4 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1915, allocations: 7.953 kB / 414.4 MB, free: 19.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.1916, allocations: 24.17 kB / 414.5 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/0.1919, allocations: 72.8 kB / 414.5 MB, free: 19.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1919, allocations: 0 / 414.5 MB, free: 19.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.1934, allocations: 1.57 MB / 416.1 MB, free: 17.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1934, allocations: 0 / 416.1 MB, free: 17.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/0.1942, allocations: 337.5 kB / 416.4 MB, free: 17.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.1943, allocations: 108.8 kB / 416.5 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.1943, allocations: 15.92 kB / 416.6 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.1946, allocations: 31.97 kB / 416.6 MB, free: 17.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.1946, allocations: 31.92 kB / 416.6 MB, free: 17.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1947, allocations: 3.984 kB / 416.6 MB, free: 17.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1948, allocations: 198 kB / 416.8 MB, free: 17.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1948, allocations: 0 / 416.8 MB, free: 17.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002795/0.1951, allocations: 83.83 kB / 416.9 MB, free: 17.12 MB / 298.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: 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001001/0.1952, allocations: 103.7 kB / 417 MB, free: 17.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007861/0.196, allocations: 426.5 kB / 417.4 MB, free: 16.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.196, allocations: 4.062 kB / 417.4 MB, free: 16.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003593/0.1964, allocations: 230.6 kB / 417.6 MB, free: 16.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.1966, allocations: 47.61 kB / 417.7 MB, free: 16.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007417/0.1974, allocations: 0.5721 MB / 418.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.1975, allocations: 0.756 MB / 419 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.1976, allocations: 19.44 kB / 419 MB, free: 14.88 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1976, allocations: 0 / 419 MB, free: 14.88 MB / 298.7 MB Notification: Performance of Templates: time 0.004415/0.202, allocations: 4.376 MB / 423.4 MB, free: 10.51 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches