Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009851/0.0009853, allocations: 100.7 kB / 16.94 MB, free: 6.441 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.001001/0.001001, allocations: 189.2 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005402/0.0005407, allocations: 16 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1638, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.005127/0.169, allocations: 2.194 MB / 330.5 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.1721, allocations: 0.7104 MB / 331.2 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005878/0.1727, allocations: 8 kB / 331.3 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.173, allocations: 23.77 kB / 331.3 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008178/0.1738, allocations: 103.7 kB / 331.4 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006435/0.1745, allocations: 67.84 kB / 331.4 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.1756, allocations: 231.5 kB / 331.7 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003413/0.1759, allocations: 65.09 kB / 331.7 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004584/0.1764, allocations: 107.6 kB / 331.8 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004221/0.1769, allocations: 135.4 kB / 332 MB, free: 448 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.577e-05/0.177, allocations: 16 kB / 332 MB, free: 432 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.067e-05/0.177, allocations: 12 kB / 332 MB, free: 420 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.1771, allocations: 47.81 kB / 332 MB, free: 372 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.1773, allocations: 73.58 kB / 332.1 MB, free: 292 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.1777, allocations: 231.6 kB / 332.3 MB, free: 60 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1777, allocations: 0 / 332.3 MB, free: 60 kB / 270.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.1777, allocations: 0 / 332.3 MB, free: 60 kB / 270.1 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.1778, allocations: 0 / 332.3 MB, free: 60 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.002255/0.18, allocations: 0.6106 MB / 333 MB, free: 15.39 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.564e-05/0.1801, allocations: 12.03 kB / 333 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.1804, allocations: 27.62 kB / 333 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.1812, allocations: 274.2 kB / 333.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.1812, allocations: 20.44 kB / 333.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.1813, allocations: 16 kB / 333.3 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.1824, allocations: 267.1 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1824, allocations: 0 / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.95e-05/0.1825, allocations: 8 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.1825, allocations: 4 kB / 333.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.1838, allocations: 289.6 kB / 333.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.1862, allocations: 0.8855 MB / 334.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.1875, allocations: 274.5 kB / 335 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.1876, allocations: 0 / 335 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008124/0.1884, allocations: 189.8 kB / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 2.795e-06/0.1884, allocations: 0 / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.003279/0.1917, allocations: 0.7061 MB / 335.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.1919, allocations: 110.8 kB / 336 MB, free: 12.14 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.1923, allocations: 253 kB / 336.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.1924, allocations: 29.7 kB / 336.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.1926, allocations: 183.8 kB / 336.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.1927, allocations: 39.45 kB / 336.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/0.1927, allocations: 8 kB / 336.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1929, allocations: 330.8 kB / 336.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.1932, allocations: 103.9 kB / 336.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.1936, allocations: 167.7 kB / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.1939, allocations: 145.5 kB / 337.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.194, allocations: 0 / 337.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001202/0.1952, allocations: 471.6 kB / 337.7 MB, free: 10.36 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003726/0.1956, allocations: 0.6445 MB / 338.3 MB, free: 9.668 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1956, allocations: 4 kB / 338.3 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/0.1961, allocations: 76.81 kB / 338.4 MB, free: 9.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.1963, allocations: 39.91 kB / 338.5 MB, free: 9.547 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.1985, allocations: 1.78 MB / 340.2 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.1989, allocations: 47.81 kB / 340.3 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.1989, allocations: 11.98 kB / 340.3 MB, free: 7.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1989, allocations: 4 kB / 340.3 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007682/0.1997, allocations: 322.3 kB / 340.6 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1997, allocations: 4 kB / 340.6 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.1998, allocations: 32.84 kB / 340.7 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.2, allocations: 55.89 kB / 340.7 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.2013, allocations: 1.546 MB / 342.3 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.2016, allocations: 47.84 kB / 342.3 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.2016, allocations: 8 kB / 342.3 MB, free: 5.414 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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 0.0002271/0.2018, allocations: 216.8 kB / 342.5 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.2019, allocations: 27.72 kB / 342.5 MB, free: 5.164 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.2019, allocations: 33.83 kB / 342.6 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2019, allocations: 3.938 kB / 342.6 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.202, allocations: 0 / 342.6 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.202, allocations: 3.984 kB / 342.6 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.2023, allocations: 289.4 kB / 342.9 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2023, allocations: 0 / 342.9 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.2025, allocations: 35.92 kB / 342.9 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.2027, allocations: 68.81 kB / 343 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.2027, allocations: 8 kB / 343 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.2046, allocations: 1.671 MB / 344.6 MB, free: 2.879 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2046, allocations: 0 / 344.6 MB, free: 2.879 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.2059, allocations: 373.4 kB / 345 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.2061, allocations: 100.9 kB / 345.1 MB, free: 2.375 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.2061, allocations: 3.984 kB / 345.1 MB, free: 2.371 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.2065, allocations: 39.97 kB / 345.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.2066, allocations: 23.97 kB / 345.2 MB, free: 2.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.2066, allocations: 3.953 kB / 345.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002934/0.2069, allocations: 188.5 kB / 345.4 MB, free: 2.125 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.207, allocations: 4 kB / 345.4 MB, free: 2.121 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009461/0.2079, allocations: 127.7 kB / 345.5 MB, free: 1.996 MB / 286.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 (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.000221/0.2082, allocations: 99.23 kB / 345.6 MB, free: 1.887 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.2101, allocations: 0.7274 MB / 346.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.2101, allocations: 4.188 kB / 346.3 MB, free: 1.105 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006531/0.2108, allocations: 250.5 kB / 346.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.2112, allocations: 40.55 kB / 346.6 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2127, allocations: 0.5177 MB / 347.1 MB, free: 268 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.2132, allocations: 0.7522 MB / 347.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001815/0.2134, allocations: 30.27 kB / 347.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.2135, allocations: 15.44 kB / 347.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of SimCode: time 1.333e-06/0.2135, allocations: 7.938 kB / 347.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of Templates: time 0.01166/0.2251, allocations: 3.757 MB / 351.7 MB, free: 11.68 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches