Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00232/0.00232, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 86.81 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.369e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3347, allocations: 47.56 MB / 362.3 MB, free: 45.87 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.458, allocations: 78.51 MB / 440.9 MB, free: 7.82 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.4583, allocations: 79.95 kB / 440.9 MB, free: 7.742 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02593/0.4843, allocations: 5.431 MB / 446.4 MB, free: 2.328 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4843, allocations: 4 kB / 446.4 MB, free: 2.324 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.4844, allocations: 4 kB / 446.4 MB, free: 2.32 MB / 331.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.00138/0.4857, allocations: 0.5464 MB / 446.9 MB, free: 1.723 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4858, allocations: 8.031 kB / 446.9 MB, free: 1.715 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.4859, allocations: 31.62 kB / 447 MB, free: 1.684 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.4864, allocations: 263.2 kB / 447.2 MB, free: 1.387 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.4865, allocations: 13.58 kB / 447.2 MB, free: 1.375 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.4866, allocations: 12 kB / 447.2 MB, free: 1.363 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004572/0.487, allocations: 140.7 kB / 447.4 MB, free: 1.227 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.4875, allocations: 164 kB / 447.5 MB, free: 1.059 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4875, allocations: 0 / 447.5 MB, free: 1.059 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.4876, allocations: 0 / 447.5 MB, free: 1.059 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.4876, allocations: 4 kB / 447.5 MB, free: 1.055 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.4899, allocations: 0.8472 MB / 448.4 MB, free: 152 kB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/0.4906, allocations: 151.8 kB / 448.5 MB, free: 15.99 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.4907, allocations: 57.06 kB / 448.6 MB, free: 15.93 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.4908, allocations: 3.938 kB / 448.6 MB, free: 15.93 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.4911, allocations: 117.5 kB / 448.7 MB, free: 15.8 MB / 347.1 MB Notification: Performance of pre-optimization done (n=13): time 2.765e-06/0.4911, allocations: 0 / 448.7 MB, free: 15.8 MB / 347.1 MB Notification: Performance of matching and sorting (n=13): time 0.000767/0.4919, allocations: 196.3 kB / 448.9 MB, free: 15.6 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.492, allocations: 81.11 kB / 449 MB, free: 15.5 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.4923, allocations: 197.9 kB / 449.2 MB, free: 15.3 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.4923, allocations: 25.7 kB / 449.2 MB, free: 15.27 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.4925, allocations: 226.3 kB / 449.4 MB, free: 15.05 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.4926, allocations: 35.45 kB / 449.5 MB, free: 15.01 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.4926, allocations: 0 / 449.5 MB, free: 15.01 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4927, allocations: 322.8 kB / 449.8 MB, free: 14.69 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.4929, allocations: 46.62 kB / 449.8 MB, free: 14.64 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.4931, allocations: 107 kB / 449.9 MB, free: 14.51 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.4933, allocations: 46.48 kB / 450 MB, free: 14.47 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4933, allocations: 4.031 kB / 450 MB, free: 14.46 MB / 347.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007898/0.4941, allocations: 238.2 kB / 450.2 MB, free: 14.22 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003205/0.4944, allocations: 0.6413 MB / 450.8 MB, free: 13.53 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4945, allocations: 4 kB / 450.8 MB, free: 13.52 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.4947, allocations: 33.97 kB / 450.9 MB, free: 13.49 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.4951, allocations: 51.91 kB / 450.9 MB, free: 13.44 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005202/0.4957, allocations: 0.5523 MB / 451.5 MB, free: 12.86 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.4962, allocations: 51.89 kB / 451.5 MB, free: 12.81 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.4962, allocations: 8 kB / 451.5 MB, free: 12.8 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.4963, allocations: 4 kB / 451.5 MB, free: 12.8 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000493/0.4968, allocations: 158.3 kB / 451.7 MB, free: 12.64 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4968, allocations: 0 / 451.7 MB, free: 12.64 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.659e-05/0.4969, allocations: 20.86 kB / 451.7 MB, free: 12.62 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.4973, allocations: 56.08 kB / 451.8 MB, free: 12.56 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.4986, allocations: 1.324 MB / 453.1 MB, free: 11.13 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.499, allocations: 40.66 kB / 453.1 MB, free: 11.09 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.499, allocations: 9.172 kB / 453.1 MB, free: 11.08 MB / 347.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real 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.0002007/0.4992, allocations: 117.8 kB / 453.3 MB, free: 10.96 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.4994, allocations: 19.81 kB / 453.3 MB, free: 10.94 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.29e-05/0.4995, allocations: 21.95 kB / 453.3 MB, free: 10.92 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.4995, allocations: 3.953 kB / 453.3 MB, free: 10.92 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4995, allocations: 0 / 453.3 MB, free: 10.92 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.4995, allocations: 0 / 453.3 MB, free: 10.92 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.4999, allocations: 246 kB / 453.5 MB, free: 10.64 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4999, allocations: 2.562 kB / 453.5 MB, free: 10.64 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.5003, allocations: 47.89 kB / 453.6 MB, free: 10.59 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001505/0.5004, allocations: 28.84 kB / 453.6 MB, free: 10.56 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.5005, allocations: 5.781 kB / 453.6 MB, free: 10.56 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.502, allocations: 1.299 MB / 454.9 MB, free: 9.145 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.502, allocations: 3.984 kB / 454.9 MB, free: 9.141 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/0.5029, allocations: 277.7 kB / 455.2 MB, free: 8.848 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.503, allocations: 92.86 kB / 455.3 MB, free: 8.738 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.503, allocations: 8 kB / 455.3 MB, free: 8.73 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.5035, allocations: 39.97 kB / 455.3 MB, free: 8.691 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.5036, allocations: 19.97 kB / 455.4 MB, free: 8.672 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.5036, allocations: 7 kB / 455.4 MB, free: 8.668 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.5038, allocations: 153.1 kB / 455.5 MB, free: 8.52 MB / 347.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5039, allocations: 0 / 455.5 MB, free: 8.52 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.000679/0.5046, allocations: 99.69 kB / 455.6 MB, free: 8.422 MB / 347.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) * 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.0001954/0.5048, allocations: 115.6 kB / 455.7 MB, free: 8.301 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0009663/0.5057, allocations: 424.4 kB / 456.1 MB, free: 7.852 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.5058, allocations: 0 / 456.1 MB, free: 7.852 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.5061, allocations: 167.6 kB / 456.3 MB, free: 7.68 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.5066, allocations: 38.66 kB / 456.3 MB, free: 7.641 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.5077, allocations: 336.4 kB / 456.7 MB, free: 7.285 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.5081, allocations: 0.756 MB / 457.4 MB, free: 6.5 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.5082, allocations: 15.44 kB / 457.4 MB, free: 6.484 MB / 347.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5082, allocations: 0 / 457.4 MB, free: 6.484 MB / 347.1 MB Notification: Performance of Templates: time 0.008863/0.5171, allocations: 3.705 MB / 461.1 MB, free: 2.805 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches