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.0008879/0.0008878, allocations: 97.27 kB / 16.3 MB, free: 5.586 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.0008872/0.0008873, allocations: 184.9 kB / 17.2 MB, free: 5.52 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.4/1.4, allocations: 223.2 MB / 241.1 MB, free: 14.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 7.938 kB / 300.7 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1301, allocations: 50.41 MB / 351.1 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003757/0.1339, allocations: 2.333 MB / 353.5 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.1354, allocations: 0.7017 MB / 354.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.1356, allocations: 4 kB / 354.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.54e-05/0.1357, allocations: 31.77 kB / 354.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.1359, allocations: 107.6 kB / 354.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.1362, allocations: 75.84 kB / 354.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.1366, allocations: 239.5 kB / 354.6 MB, free: 308 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.1368, allocations: 93.78 kB / 354.7 MB, free: 212 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.1371, allocations: 119.5 kB / 354.8 MB, free: 92 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1373, allocations: 139.4 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.1373, allocations: 16 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.301e-05/0.1374, allocations: 16 kB / 355 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.1374, allocations: 51.81 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.398e-05/0.1375, allocations: 77.52 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.1379, allocations: 327.3 kB / 355.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1379, allocations: 0 / 355.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.138, allocations: 4 kB / 355.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.138, allocations: 4 kB / 355.5 MB, free: 15.46 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.001459/0.1394, allocations: 0.633 MB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.1395, allocations: 8.031 kB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.1396, allocations: 31.62 kB / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.1401, allocations: 275.5 kB / 356.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.1401, allocations: 24.56 kB / 356.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.1402, allocations: 24 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007767/0.141, allocations: 331.6 kB / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.141, allocations: 3.938 kB / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.141, allocations: 8 kB / 356.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.1411, allocations: 4 kB / 356.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008326/0.1419, allocations: 306 kB / 357.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.1442, allocations: 1.212 MB / 358.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.1452, allocations: 278.5 kB / 358.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.1453, allocations: 7.984 kB / 358.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005433/0.1458, allocations: 184.9 kB / 358.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/0.1458, allocations: 4 kB / 358.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002152/0.148, allocations: 0.6632 MB / 359.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.536e-05/0.1481, allocations: 85.11 kB / 359.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.1484, allocations: 254.6 kB / 359.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.1485, allocations: 29.7 kB / 359.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.1487, allocations: 195.5 kB / 360 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.1487, allocations: 39.45 kB / 360 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.1487, allocations: 4 kB / 360 MB, free: 10.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1489, allocations: 338.7 kB / 360.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.1493, allocations: 120.2 kB / 360.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.1497, allocations: 204.5 kB / 360.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.1502, allocations: 156.6 kB / 360.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1502, allocations: 0 / 360.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001241/0.1514, allocations: 483.7 kB / 361.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.1515, allocations: 36.2 kB / 361.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.1515, allocations: 0 / 361.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/0.1519, allocations: 72.88 kB / 361.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.1522, allocations: 71.84 kB / 361.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/0.1552, allocations: 1.771 MB / 363.2 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.1556, allocations: 55.98 kB / 363.3 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.1556, allocations: 12 kB / 363.3 MB, free: 7.113 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 ($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 (25): * Single equations (assignments): 23 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002045/0.1558, allocations: 149.7 kB / 363.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.1558, allocations: 19.72 kB / 363.5 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.789e-05/0.1559, allocations: 33.66 kB / 363.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1559, allocations: 0 / 363.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1559, allocations: 0 / 363.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1559, allocations: 4 kB / 363.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.1563, allocations: 309.5 kB / 363.8 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1564, allocations: 0 / 363.8 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.1566, allocations: 43.89 kB / 363.9 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.1568, allocations: 64.83 kB / 363.9 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.1568, allocations: 3.984 kB / 363.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.159, allocations: 1.573 MB / 365.5 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.159, allocations: 3.938 kB / 365.5 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.1604, allocations: 497.5 kB / 366 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.1605, allocations: 112.8 kB / 366.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.1606, allocations: 3.953 kB / 366.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.1608, allocations: 43.95 kB / 366.1 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/0.1609, allocations: 15.92 kB / 366.2 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.161, allocations: 7.984 kB / 366.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.1612, allocations: 190 kB / 366.3 MB, free: 3.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.81e-07/0.1612, allocations: 0 / 366.3 MB, free: 3.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000421/0.1616, allocations: 67.84 kB / 366.4 MB, free: 3.77 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 (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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002276/0.1619, allocations: 106 kB / 366.5 MB, free: 3.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.1633, allocations: 0.5057 MB / 367 MB, free: 3.125 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1633, allocations: 0 / 367 MB, free: 3.125 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.1638, allocations: 235.1 kB / 367.3 MB, free: 2.883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1641, allocations: 31.3 kB / 367.3 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.1677, allocations: 1.006 MB / 368.3 MB, free: 1.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.1682, allocations: 0.756 MB / 369 MB, free: 1.039 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.1683, allocations: 26.28 kB / 369.1 MB, free: 1.012 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.1684, allocations: 19.44 kB / 369.1 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of SimCode: time 2.114e-06/0.1684, allocations: 0 / 369.1 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of Templates: time 0.2103/0.3787, allocations: 3.13 MB / 372.2 MB, free: 24.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches