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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.2 MB / 219.8 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008447/0.000845, allocations: 82.72 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.664e-05, allocations: 0 / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 47.57 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4087/0.5276, allocations: 79.16 MB / 449.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5279, allocations: 77.16 kB / 449.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01552/0.5435, allocations: 5.495 MB / 454.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5435, allocations: 0 / 454.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.5435, allocations: 8 kB / 454.8 MB, free: 9.387 MB / 330.7 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.0008672/0.5444, allocations: 0.5477 MB / 455.3 MB, free: 8.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5444, allocations: 8.031 kB / 455.3 MB, free: 8.789 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.151e-05/0.5445, allocations: 30.88 kB / 455.4 MB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.5448, allocations: 266.4 kB / 455.6 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.5449, allocations: 18.95 kB / 455.6 MB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.5449, allocations: 23.25 kB / 455.7 MB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.5453, allocations: 186.4 kB / 455.8 MB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.5453, allocations: 0 / 455.8 MB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.5453, allocations: 10.12 kB / 455.8 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.5453, allocations: 4 kB / 455.9 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.5456, allocations: 148.5 kB / 456 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.5471, allocations: 0.8892 MB / 456.9 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.5475, allocations: 149.2 kB / 457 MB, free: 7.297 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.352e-05/0.5476, allocations: 51.98 kB / 457.1 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.5476, allocations: 7.938 kB / 457.1 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.5478, allocations: 119.6 kB / 457.2 MB, free: 7.141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.5478, allocations: 224 / 457.2 MB, free: 7.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005061/0.5484, allocations: 205.1 kB / 457.4 MB, free: 6.965 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.5485, allocations: 85.05 kB / 457.5 MB, free: 6.863 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.5487, allocations: 214 kB / 457.7 MB, free: 6.684 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.5488, allocations: 33.45 kB / 457.7 MB, free: 6.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.5489, allocations: 158.9 kB / 457.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.549, allocations: 42.88 kB / 457.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.549, allocations: 4 kB / 457.9 MB, free: 6.477 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.5492, allocations: 337.9 kB / 458.3 MB, free: 6.148 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.5493, allocations: 47.5 kB / 458.3 MB, free: 6.117 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.5495, allocations: 106 kB / 458.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.5496, allocations: 84.09 kB / 458.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5496, allocations: 0 / 458.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005118/0.5501, allocations: 297.2 kB / 458.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003299/0.5505, allocations: 0.6371 MB / 459.4 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.5505, allocations: 4 kB / 459.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.5507, allocations: 36.53 kB / 459.5 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.5509, allocations: 47.91 kB / 459.5 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004237/0.5514, allocations: 0.5516 MB / 460.1 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.5517, allocations: 47.75 kB / 460.1 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.5517, allocations: 11.98 kB / 460.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.5517, allocations: 4 kB / 460.1 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00033/0.552, allocations: 208.3 kB / 460.3 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.5521, allocations: 8 kB / 460.3 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.775e-05/0.5521, allocations: 28.81 kB / 460.4 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.5524, allocations: 51.84 kB / 460.4 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.5535, allocations: 1.375 MB / 461.8 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.5537, allocations: 43.94 kB / 461.8 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.5538, allocations: 8 kB / 461.8 MB, free: 2.539 MB / 330.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete 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 (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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.5539, allocations: 120.9 kB / 462 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.5539, allocations: 23.67 kB / 462 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.554, allocations: 21.97 kB / 462 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.554, allocations: 7.938 kB / 462 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.554, allocations: 0 / 462 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.554, allocations: 3.984 kB / 462 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.5543, allocations: 285.4 kB / 462.3 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5543, allocations: 4 kB / 462.3 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.5545, allocations: 35.97 kB / 462.3 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.952e-05/0.5546, allocations: 24.94 kB / 462.4 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.5546, allocations: 15.94 kB / 462.4 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.5558, allocations: 1.358 MB / 463.7 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5559, allocations: 8.062 kB / 463.7 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.5564, allocations: 293.8 kB / 464 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.5565, allocations: 96.94 kB / 464.1 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.5565, allocations: 0 / 464.1 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.5568, allocations: 36.02 kB / 464.2 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.5569, allocations: 19.92 kB / 464.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.5569, allocations: 4 kB / 464.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.5571, allocations: 173.4 kB / 464.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5571, allocations: 0 / 464.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004342/0.5575, allocations: 107.7 kB / 464.5 MB, free: 15.69 MB / 346.7 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) * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001977/0.5577, allocations: 115.2 kB / 464.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007553/0.5585, allocations: 455.5 kB / 465 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5585, allocations: 3.938 kB / 465 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.5588, allocations: 174.5 kB / 465.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.559, allocations: 36.56 kB / 465.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000727/0.5598, allocations: 332.7 kB / 465.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.5602, allocations: 0.7524 MB / 466.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.5603, allocations: 30.05 kB / 466.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.5604, allocations: 15.44 kB / 466.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5604, allocations: 0 / 466.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of Templates: time 0.007064/0.5675, allocations: 3.304 MB / 469.6 MB, free: 10.39 MB / 346.7 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