Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001572/0.001573, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.53/1.53, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 52.22 kB / 302.1 MB, free: 5.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1456, allocations: 49.44 MB / 351.5 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.0051/0.1508, allocations: 2.858 MB / 354.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1522, allocations: 0.7245 MB / 355.1 MB, free: 60 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.1524, allocations: 4 kB / 355.1 MB, free: 56 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.1527, allocations: 43.58 kB / 355.1 MB, free: 12 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1529, allocations: 99.28 kB / 355.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.1532, allocations: 111.8 kB / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.1536, allocations: 402.3 kB / 355.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.1539, allocations: 123.2 kB / 355.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.1541, allocations: 151.4 kB / 356 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1544, allocations: 167.3 kB / 356.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.1544, allocations: 40 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.224e-05/0.1545, allocations: 39.94 kB / 356.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.1546, allocations: 79.73 kB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1547, allocations: 163.2 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.1551, allocations: 426.6 kB / 356.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1552, allocations: 4 kB / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1552, allocations: 0 / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1552, allocations: 0 / 356.9 MB, free: 14.23 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001363/0.1565, allocations: 0.6642 MB / 357.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1566, allocations: 11.89 kB / 357.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.452e-05/0.1567, allocations: 36.56 kB / 357.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.1572, allocations: 288.7 kB / 357.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.1572, allocations: 16.94 kB / 357.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.471e-05/0.1573, allocations: 28.28 kB / 357.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007269/0.158, allocations: 316 kB / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.158, allocations: 3.938 kB / 358.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.1581, allocations: 15.98 kB / 358.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1581, allocations: 4 kB / 358.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007868/0.1589, allocations: 278.1 kB / 358.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.1609, allocations: 1.165 MB / 359.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008814/0.1618, allocations: 246.5 kB / 359.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.1621, allocations: 100.8 kB / 360 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.1622, allocations: 7.938 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004505/0.1626, allocations: 169 kB / 360.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.1626, allocations: 0 / 360.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001975/0.1646, allocations: 0.5926 MB / 360.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.1647, allocations: 85.03 kB / 360.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.165, allocations: 262.6 kB / 361.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.1651, allocations: 33.7 kB / 361.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.1652, allocations: 199.4 kB / 361.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.1653, allocations: 39.55 kB / 361.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.842e-05/0.1654, allocations: 49.61 kB / 361.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1656, allocations: 330.8 kB / 361.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.1659, allocations: 104.2 kB / 361.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.1663, allocations: 192.7 kB / 362.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006954/0.167, allocations: 299.8 kB / 362.4 MB, free: 8.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1671, allocations: 0 / 362.4 MB, free: 8.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001194/0.1683, allocations: 443.7 kB / 362.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.1683, allocations: 37.64 kB / 362.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1683, allocations: 0 / 362.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.1687, allocations: 80.75 kB / 362.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.169, allocations: 51.95 kB / 363 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.1714, allocations: 1.633 MB / 364.6 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.1717, allocations: 55.72 kB / 364.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.1718, allocations: 12 kB / 364.7 MB, free: 5.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.172, allocations: 145.2 kB / 364.8 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.172, allocations: 27.72 kB / 364.8 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.1721, allocations: 25.64 kB / 364.9 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1721, allocations: 4 kB / 364.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1721, allocations: 0 / 364.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.1721, allocations: 0 / 364.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.1725, allocations: 317.4 kB / 365.2 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1725, allocations: 4 kB / 365.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.1727, allocations: 31.97 kB / 365.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.1729, allocations: 56.81 kB / 365.3 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.173, allocations: 7.938 kB / 365.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.175, allocations: 1.625 MB / 366.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.175, allocations: 0 / 366.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.1763, allocations: 453.4 kB / 367.3 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.1764, allocations: 100.9 kB / 367.4 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.1765, allocations: 3.984 kB / 367.4 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.1767, allocations: 31.97 kB / 367.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.1768, allocations: 15.98 kB / 367.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1768, allocations: 8.047 kB / 367.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002317/0.1771, allocations: 190 kB / 367.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1771, allocations: 0 / 367.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00037/0.1775, allocations: 71.75 kB / 367.8 MB, free: 2.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (11): * Single equations (assignments): 8 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001717/0.1776, allocations: 107.2 kB / 367.9 MB, free: 2.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009878/0.1786, allocations: 401.8 kB / 368.3 MB, free: 2.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1787, allocations: 0 / 368.3 MB, free: 2.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.1791, allocations: 223.2 kB / 368.5 MB, free: 1.824 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1794, allocations: 48.42 kB / 368.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.1829, allocations: 0.8685 MB / 369.4 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.1834, allocations: 0.748 MB / 370.1 MB, free: 104 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.1835, allocations: 26.28 kB / 370.2 MB, free: 76 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.1836, allocations: 27.38 kB / 370.2 MB, free: 48 kB / 302.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1836, allocations: 0 / 370.2 MB, free: 48 kB / 302.1 MB Notification: Performance of Templates: time 0.2412/0.4248, allocations: 3.644 MB / 373.8 MB, free: 24.95 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches