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.001085/0.001085, allocations: 110.2 kB / 17.29 MB, free: 6.059 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.001159/0.001159, allocations: 193.3 kB / 18.21 MB, free: 5.145 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.293/1.293, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 54.44 kB / 300.8 MB, free: 6.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1082, allocations: 49.44 MB / 350.2 MB, free: 4.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.007322/0.1156, allocations: 2.897 MB / 353.1 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.1178, allocations: 0.7168 MB / 353.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002907/0.1182, allocations: 7.938 kB / 353.9 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.1185, allocations: 35.75 kB / 353.9 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.119, allocations: 79.39 kB / 354 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.1196, allocations: 95.92 kB / 354.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007425/0.1203, allocations: 394.5 kB / 354.5 MB, free: 488 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003633/0.1207, allocations: 127.2 kB / 354.6 MB, free: 360 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.1211, allocations: 151.4 kB / 354.7 MB, free: 208 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.1215, allocations: 155.4 kB / 354.9 MB, free: 52 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.1216, allocations: 40 kB / 354.9 MB, free: 12 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1218, allocations: 36.05 kB / 355 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1219, allocations: 83.64 kB / 355 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002961/0.1222, allocations: 171.2 kB / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.1228, allocations: 335.5 kB / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1228, allocations: 4 kB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1228, allocations: 0 / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.1228, allocations: 0 / 355.5 MB, free: 15.39 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.00214/0.125, allocations: 0.6642 MB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.125, allocations: 15.83 kB / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.1252, allocations: 32.56 kB / 356.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.1258, allocations: 292.6 kB / 356.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.1258, allocations: 20.92 kB / 356.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.377e-05/0.1259, allocations: 28.28 kB / 356.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.1272, allocations: 320 kB / 356.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1273, allocations: 3.984 kB / 356.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.1273, allocations: 4 kB / 356.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.1274, allocations: 11.94 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.1289, allocations: 274.1 kB / 357.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003548/0.1324, allocations: 1.177 MB / 358.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.134, allocations: 246.6 kB / 358.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006251/0.1347, allocations: 104.7 kB / 358.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.1347, allocations: 3.984 kB / 358.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008444/0.1356, allocations: 169 kB / 358.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 3.005e-06/0.1356, allocations: 0 / 358.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.003803/0.1394, allocations: 0.5965 MB / 359.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/0.1395, allocations: 85.05 kB / 359.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.1401, allocations: 258.6 kB / 359.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.1401, allocations: 33.7 kB / 359.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.1404, allocations: 199.5 kB / 360 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.1405, allocations: 35.55 kB / 360.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.1406, allocations: 49.61 kB / 360.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1408, allocations: 338.8 kB / 360.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/0.1415, allocations: 96.16 kB / 360.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007479/0.1423, allocations: 191.5 kB / 360.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.1436, allocations: 307.7 kB / 361 MB, free: 9.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.1436, allocations: 4 kB / 361 MB, free: 9.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002268/0.1459, allocations: 439.3 kB / 361.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.608e-05/0.146, allocations: 45.62 kB / 361.5 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.146, allocations: 4 kB / 361.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005097/0.1465, allocations: 56.83 kB / 361.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.147, allocations: 59.89 kB / 361.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003769/0.1508, allocations: 1.634 MB / 363.3 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.1514, allocations: 59.66 kB / 363.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.1515, allocations: 8 kB / 363.3 MB, free: 7.059 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.0002704/0.1518, allocations: 149.7 kB / 363.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.1518, allocations: 23.7 kB / 363.5 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.691e-05/0.1519, allocations: 21.72 kB / 363.5 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.152, allocations: 0 / 363.5 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.152, allocations: 0 / 363.5 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.152, allocations: 7.922 kB / 363.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.1525, allocations: 317.4 kB / 363.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.1525, allocations: 8 kB / 363.8 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.1529, allocations: 27.97 kB / 363.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/0.1533, allocations: 60.81 kB / 363.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.1534, allocations: 4 kB / 363.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003468/0.1569, allocations: 1.633 MB / 365.6 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1569, allocations: 0 / 365.6 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.1594, allocations: 453.3 kB / 366 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.1596, allocations: 100.9 kB / 366.1 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.1597, allocations: 4 kB / 366.1 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.1601, allocations: 28.03 kB / 366.1 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.1603, allocations: 23.97 kB / 366.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.1603, allocations: 4 kB / 366.2 MB, free: 3.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004312/0.1607, allocations: 186 kB / 366.3 MB, free: 3.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.1608, allocations: 0 / 366.3 MB, free: 3.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007097/0.1615, allocations: 75.75 kB / 366.4 MB, free: 3.727 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.0002612/0.1618, allocations: 99.23 kB / 366.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.1636, allocations: 414.2 kB / 366.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1636, allocations: 4.125 kB / 366.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007104/0.1643, allocations: 210.6 kB / 367.1 MB, free: 2.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.1649, allocations: 60.39 kB / 367.2 MB, free: 2.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006296/0.1712, allocations: 0.9918 MB / 368.2 MB, free: 1.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.1718, allocations: 0.7558 MB / 368.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.1719, allocations: 19.44 kB / 369 MB, free: 1.078 MB / 302.1 MB Notification: Performance of SimCode: time 1.383e-06/0.1719, allocations: 0 / 369 MB, free: 1.078 MB / 302.1 MB Notification: Performance of Templates: time 0.1853/0.3572, allocations: 4.535 MB / 373.5 MB, free: 25.64 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 -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