Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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.001009/0.001009, allocations: 95.61 kB / 17.3 MB, free: 6.391 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.001054/0.001054, allocations: 175.6 kB / 18.21 MB, free: 5.551 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.949/1.949, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0005199/0.0005202, allocations: 14.81 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1374, allocations: 47.59 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002982/0.1405, allocations: 2.293 MB / 331.3 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1418, allocations: 0.6944 MB / 332 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1419, allocations: 4 kB / 332 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.142, allocations: 31.77 kB / 332 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1422, allocations: 75.44 kB / 332.1 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.1425, allocations: 75.92 kB / 332.1 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.1428, allocations: 302.7 kB / 332.4 MB, free: 264 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.143, allocations: 69.14 kB / 332.5 MB, free: 200 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.1432, allocations: 111.5 kB / 332.6 MB, free: 88 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.1434, allocations: 131.4 kB / 332.7 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.1434, allocations: 16 kB / 332.8 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.552e-05/0.1434, allocations: 12 kB / 332.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.1435, allocations: 47.77 kB / 332.8 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.1437, allocations: 141 kB / 333 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.1439, allocations: 283.1 kB / 333.2 MB, free: 15.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1439, allocations: 0 / 333.2 MB, free: 15.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.144, allocations: 0 / 333.2 MB, free: 15.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.144, allocations: 0 / 333.2 MB, free: 15.46 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001115/0.1451, allocations: 0.591 MB / 333.8 MB, free: 14.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1451, allocations: 15.97 kB / 333.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.1452, allocations: 28.56 kB / 333.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.1455, allocations: 263.5 kB / 334.1 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.1456, allocations: 16.73 kB / 334.1 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.1456, allocations: 28.31 kB / 334.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006271/0.1463, allocations: 248.6 kB / 334.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1463, allocations: 0 / 334.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.1463, allocations: 12 kB / 334.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1464, allocations: 4 kB / 334.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008154/0.1472, allocations: 279.6 kB / 334.7 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.1487, allocations: 0.8442 MB / 335.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008991/0.1496, allocations: 278.5 kB / 335.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.15, allocations: 112.8 kB / 335.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.15, allocations: 0 / 335.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004977/0.1505, allocations: 180.9 kB / 336.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.1505, allocations: 0 / 336.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001974/0.1525, allocations: 0.6591 MB / 336.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.1526, allocations: 77.11 kB / 336.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.1529, allocations: 241 kB / 337.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.1529, allocations: 33.64 kB / 337.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.153, allocations: 167.9 kB / 337.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.1531, allocations: 43.44 kB / 337.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.1531, allocations: 21.72 kB / 337.3 MB, free: 11.08 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1533, allocations: 334.8 kB / 337.7 MB, free: 10.74 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/0.1536, allocations: 103.9 kB / 337.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.154, allocations: 158.7 kB / 337.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.1547, allocations: 279.5 kB / 338.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1547, allocations: 7.938 kB / 338.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001105/0.1558, allocations: 438.4 kB / 338.6 MB, free: 9.711 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.1559, allocations: 167.9 kB / 338.8 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.156, allocations: 4 kB / 338.8 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004834/0.1565, allocations: 124.6 kB / 338.9 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.1567, allocations: 51.97 kB / 339 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.1584, allocations: 1.503 MB / 340.5 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.1588, allocations: 47.84 kB / 340.5 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.1588, allocations: 8 kB / 340.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.62e-06/0.1588, allocations: 0 / 340.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007045/0.1595, allocations: 302.3 kB / 340.8 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1595, allocations: 4 kB / 340.8 MB, free: 7.336 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.718e-05/0.1596, allocations: 24.84 kB / 340.8 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.1598, allocations: 55.89 kB / 340.9 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.1609, allocations: 1.377 MB / 342.3 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.1611, allocations: 39.92 kB / 342.3 MB, free: 5.703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1612, allocations: 15.94 kB / 342.3 MB, free: 5.688 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 (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 (20): * Single equations (assignments): 18 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002336/0.1614, allocations: 217.2 kB / 342.5 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.1614, allocations: 19.72 kB / 342.6 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.1615, allocations: 21.84 kB / 342.6 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1615, allocations: 7.984 kB / 342.6 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1615, allocations: 0 / 342.6 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1615, allocations: 7.938 kB / 342.6 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.1618, allocations: 281.4 kB / 342.9 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1618, allocations: 0 / 342.9 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.162, allocations: 43.91 kB / 342.9 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001773/0.1622, allocations: 56.81 kB / 343 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1622, allocations: 4 kB / 343 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.1637, allocations: 1.487 MB / 344.5 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1637, allocations: 0 / 344.5 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.1649, allocations: 465.4 kB / 344.9 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.165, allocations: 96.94 kB / 345 MB, free: 2.77 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.165, allocations: 4 kB / 345 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.1653, allocations: 40.03 kB / 345.1 MB, free: 2.727 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.1653, allocations: 19.97 kB / 345.1 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.1654, allocations: 0 / 345.1 MB, free: 2.707 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.1655, allocations: 176.5 kB / 345.2 MB, free: 2.535 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1655, allocations: 3.938 kB / 345.3 MB, free: 2.531 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005163/0.1661, allocations: 111.7 kB / 345.4 MB, free: 2.422 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001361/0.1662, allocations: 99.23 kB / 345.5 MB, free: 2.316 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.1676, allocations: 0.6945 MB / 346.2 MB, free: 1.574 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1676, allocations: 0.6875 kB / 346.2 MB, free: 1.574 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.168, allocations: 235.2 kB / 346.4 MB, free: 1.332 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1684, allocations: 44.36 kB / 346.4 MB, free: 1.289 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1695, allocations: 0.6231 MB / 347 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1699, allocations: 0.7401 MB / 347.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.17, allocations: 21.95 kB / 347.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.17, allocations: 19.44 kB / 347.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1701, allocations: 4 kB / 347.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of Templates: time 0.007087/0.1771, allocations: 3.342 MB / 351.2 MB, free: 12.5 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches