Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 112.2 kB / 17.28 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.000938/0.000938, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.926/1.926, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001269/0.001269, allocations: 51.94 kB / 280.2 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1574, allocations: 46.63 MB / 326.8 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.006245/0.1637, allocations: 2.74 MB / 329.5 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1659, allocations: 0.706 MB / 330.2 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.1662, allocations: 4 kB / 330.2 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.1665, allocations: 35.7 kB / 330.3 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.1668, allocations: 75.44 kB / 330.3 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.1672, allocations: 79.92 kB / 330.4 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005504/0.1677, allocations: 338.5 kB / 330.8 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.1681, allocations: 113.7 kB / 330.9 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.1684, allocations: 127.5 kB / 331 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.1687, allocations: 139.4 kB / 331.1 MB, free: 432 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.251e-05/0.1687, allocations: 28 kB / 331.2 MB, free: 404 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.251e-05/0.1688, allocations: 24 kB / 331.2 MB, free: 380 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.1689, allocations: 67.75 kB / 331.2 MB, free: 312 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.1691, allocations: 147.3 kB / 331.4 MB, free: 164 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.1696, allocations: 311.1 kB / 331.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.1696, allocations: 0 / 331.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.1696, allocations: 0 / 331.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1696, allocations: 4 kB / 331.7 MB, free: 15.85 MB / 286.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.001527/0.1712, allocations: 0.5848 MB / 332.3 MB, free: 15.22 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001048/0.1713, allocations: 19.88 kB / 332.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1714, allocations: 28.66 kB / 332.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.1719, allocations: 263.7 kB / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.1719, allocations: 16.94 kB / 332.6 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.172, allocations: 24.38 kB / 332.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.1725, allocations: 249.1 kB / 332.9 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.1726, allocations: 0 / 332.9 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.1726, allocations: 12 kB / 332.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.1726, allocations: 4 kB / 332.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004958/0.1731, allocations: 222.1 kB / 333.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.1753, allocations: 0.9211 MB / 334 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005791/0.1759, allocations: 198.5 kB / 334.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.1763, allocations: 148.8 kB / 334.4 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.1763, allocations: 0 / 334.4 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.1764, allocations: 38.56 kB / 334.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.072e-06/0.1764, allocations: 0 / 334.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001701/0.1781, allocations: 0.5373 MB / 334.9 MB, free: 12.4 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.1782, allocations: 59.34 kB / 335 MB, free: 12.33 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.1786, allocations: 224.2 kB / 335.2 MB, free: 12.09 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.1786, allocations: 29.7 kB / 335.2 MB, free: 12.06 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.1789, allocations: 171.8 kB / 335.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.284e-05/0.1789, allocations: 71.08 kB / 335.5 MB, free: 11.81 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.179, allocations: 41.7 kB / 335.5 MB, free: 11.77 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002914/0.1793, allocations: 334.8 kB / 335.8 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.1795, allocations: 68.83 kB / 335.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.1797, allocations: 114 kB / 336 MB, free: 11.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.1801, allocations: 193.8 kB / 336.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1801, allocations: 3.938 kB / 336.2 MB, free: 11.01 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007768/0.1809, allocations: 337.7 kB / 336.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.1809, allocations: 4 kB / 336.6 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1809, allocations: 4 kB / 336.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005569/0.1815, allocations: 108.9 kB / 336.7 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.1817, allocations: 51.92 kB / 336.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.1845, allocations: 1.927 MB / 338.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.1847, allocations: 27.69 kB / 338.7 MB, free: 8.406 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1847, allocations: 11.98 kB / 338.7 MB, free: 8.395 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002151/0.1849, allocations: 152.1 kB / 338.8 MB, free: 8.242 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001388/0.1851, allocations: 106.5 kB / 338.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002728/0.1854, allocations: 177.7 kB / 339.1 MB, free: 7.922 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/0.1854, allocations: 3.938 kB / 339.1 MB, free: 7.918 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004522/0.1858, allocations: 249.9 kB / 339.4 MB, free: 7.664 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1859, allocations: 4 kB / 339.4 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.1859, allocations: 4 kB / 339.4 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001267/0.186, allocations: 52.95 kB / 339.4 MB, free: 7.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.1862, allocations: 47.91 kB / 339.5 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.1881, allocations: 1.721 MB / 341.2 MB, free: 5.699 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.1883, allocations: 15.84 kB / 341.2 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1883, allocations: 8 kB / 341.2 MB, free: 5.676 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.1886, allocations: 200.2 kB / 341.4 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.1887, allocations: 23.72 kB / 341.4 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.504e-05/0.1887, allocations: 25.86 kB / 341.4 MB, free: 5.426 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.1887, allocations: 3.938 kB / 341.5 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1888, allocations: 0 / 341.5 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1888, allocations: 4 kB / 341.5 MB, free: 5.418 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.19, allocations: 0.6162 MB / 342.1 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.19, allocations: 0 / 342.1 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.1902, allocations: 27.98 kB / 342.1 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000274/0.1905, allocations: 72.75 kB / 342.2 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.1905, allocations: 3.984 kB / 342.2 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/0.1935, allocations: 1.88 MB / 344.1 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1935, allocations: 0 / 344.1 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008873/0.1944, allocations: 415 kB / 344.5 MB, free: 2.195 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.1945, allocations: 108.8 kB / 344.6 MB, free: 2.07 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.1945, allocations: 3.938 kB / 344.6 MB, free: 2.066 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.1947, allocations: 19.98 kB / 344.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.1948, allocations: 12.05 kB / 344.6 MB, free: 2.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.1948, allocations: 8 kB / 344.6 MB, free: 2.027 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.195, allocations: 169.6 kB / 344.8 MB, free: 1.863 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.195, allocations: 0 / 344.8 MB, free: 1.863 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008257/0.1958, allocations: 131.6 kB / 344.9 MB, free: 1.734 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002204/0.1961, allocations: 99.25 kB / 345 MB, free: 1.629 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.1973, allocations: 0.548 MB / 345.5 MB, free: 1.055 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.1973, allocations: 0.75 kB / 345.5 MB, free: 1.055 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.1976, allocations: 218.5 kB / 345.8 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007098/0.1984, allocations: 48.69 kB / 345.8 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.2005, allocations: 0.8386 MB / 346.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.201, allocations: 0.7522 MB / 347.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.2011, allocations: 17.95 kB / 347.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.2012, allocations: 19.44 kB / 347.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2012, allocations: 4 kB / 347.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of Templates: time 0.009196/0.2104, allocations: 3.247 MB / 350.7 MB, free: 11.84 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches