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.001791/0.001791, allocations: 180.7 kB / 17.01 MB, free: 5.125 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.866/1.866, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.001026/0.001026, allocations: 88.88 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.000383, allocations: 8 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3248, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.4382, allocations: 79.26 MB / 455.1 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.4385, allocations: 79.97 kB / 455.2 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01731/0.4558, allocations: 5.497 MB / 460.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.4559, allocations: 0 / 460.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.4559, allocations: 4 kB / 460.7 MB, free: 11.81 MB / 346.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.001303/0.4572, allocations: 0.5833 MB / 461.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.986e-05/0.4573, allocations: 8.031 kB / 461.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.92e-05/0.4574, allocations: 27.72 kB / 461.3 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.4579, allocations: 271.6 kB / 461.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.4579, allocations: 24.33 kB / 461.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.458, allocations: 16 kB / 461.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/0.4586, allocations: 252.5 kB / 461.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4586, allocations: 0 / 461.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.4587, allocations: 8 kB / 461.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4587, allocations: 4 kB / 461.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/0.4594, allocations: 283.1 kB / 462.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.4611, allocations: 0.8834 MB / 463 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008143/0.4619, allocations: 270.6 kB / 463.3 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.4619, allocations: 3.984 kB / 463.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004593/0.4624, allocations: 181 kB / 463.4 MB, free: 8.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.4624, allocations: 0 / 463.4 MB, free: 8.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.00165/0.4641, allocations: 0.5967 MB / 464 MB, free: 8.195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.4641, allocations: 89.09 kB / 464.1 MB, free: 8.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.4644, allocations: 212.1 kB / 464.3 MB, free: 7.879 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.4644, allocations: 29.7 kB / 464.4 MB, free: 7.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.4646, allocations: 164 kB / 464.5 MB, free: 7.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.4646, allocations: 43.44 kB / 464.6 MB, free: 7.637 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.4647, allocations: 4 kB / 464.6 MB, free: 7.633 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4648, allocations: 330.8 kB / 464.9 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.4652, allocations: 104.1 kB / 465 MB, free: 7.195 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.4655, allocations: 161.6 kB / 465.2 MB, free: 7.016 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.4658, allocations: 145.5 kB / 465.3 MB, free: 6.867 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4659, allocations: 0 / 465.3 MB, free: 6.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009039/0.4668, allocations: 403.8 kB / 465.7 MB, free: 6.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003249/0.4671, allocations: 0.6451 MB / 466.3 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4671, allocations: 3.984 kB / 466.3 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002675/0.4674, allocations: 56.83 kB / 466.4 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.4676, allocations: 55.95 kB / 466.5 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005187/0.4682, allocations: 0.5912 MB / 467 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.4685, allocations: 43.84 kB / 467.1 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.4685, allocations: 12 kB / 467.1 MB, free: 4.969 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.4685, allocations: 224 / 467.1 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006498/0.4692, allocations: 299.4 kB / 467.4 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/0.4692, allocations: 3.938 kB / 467.4 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.836e-05/0.4692, allocations: 24.84 kB / 467.4 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.4695, allocations: 55.91 kB / 467.5 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.4705, allocations: 1.389 MB / 468.9 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.4707, allocations: 44 kB / 468.9 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.4708, allocations: 8 kB / 468.9 MB, free: 3.008 MB / 346.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 () * 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 (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.000192/0.471, allocations: 215.8 kB / 469.1 MB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.471, allocations: 23.67 kB / 469.1 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.4711, allocations: 29.83 kB / 469.2 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4711, allocations: 4 kB / 469.2 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.4711, allocations: 0 / 469.2 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4711, allocations: 0 / 469.2 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.4714, allocations: 285.4 kB / 469.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4714, allocations: 0 / 469.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.4716, allocations: 39.95 kB / 469.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.4718, allocations: 52.83 kB / 469.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.4718, allocations: 7.953 kB / 469.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.4733, allocations: 1.504 MB / 471.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4733, allocations: 0 / 471.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.4744, allocations: 472.3 kB / 471.5 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.4745, allocations: 96.95 kB / 471.6 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.4745, allocations: 3.984 kB / 471.6 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.4748, allocations: 35.97 kB / 471.7 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.4749, allocations: 20.03 kB / 471.7 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.4749, allocations: 4 kB / 471.7 MB, free: 12 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.4751, allocations: 172.5 kB / 471.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4751, allocations: 0 / 471.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004772/0.4756, allocations: 107.7 kB / 472 MB, free: 15.73 MB / 362.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) * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/0.4757, allocations: 115.1 kB / 472.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.4771, allocations: 0.5879 MB / 472.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4771, allocations: 0 / 472.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.4775, allocations: 238.8 kB / 472.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.4778, allocations: 36.38 kB / 472.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.4789, allocations: 0.5816 MB / 473.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.4792, allocations: 0.756 MB / 474.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.4793, allocations: 29.86 kB / 474.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.4794, allocations: 19.44 kB / 474.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4794, allocations: 0 / 474.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of Templates: time 0.006488/0.4859, allocations: 3.088 MB / 477.4 MB, free: 10.21 MB / 362.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