Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 177.7 kB / 8.363 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 1.972/1.972, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001103/0.001103, allocations: 88.52 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.868e-05, allocations: 7.984 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3384, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/0.469, allocations: 78.38 MB / 440.7 MB, free: 7.93 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.4694, allocations: 82.8 kB / 440.8 MB, free: 7.852 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02825/0.4977, allocations: 5.611 MB / 446.4 MB, free: 2.262 MB / 331.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4978, allocations: 0 / 446.4 MB, free: 2.262 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.4978, allocations: 8 kB / 446.4 MB, free: 2.254 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001542/0.4994, allocations: 0.5701 MB / 447 MB, free: 1.637 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4995, allocations: 12.03 kB / 447 MB, free: 1.625 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.4996, allocations: 31.72 kB / 447 MB, free: 1.594 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.5002, allocations: 264.2 kB / 447.3 MB, free: 1.297 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.5002, allocations: 7.953 kB / 447.3 MB, free: 1.289 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.5003, allocations: 16 kB / 447.3 MB, free: 1.273 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005106/0.5008, allocations: 152.9 kB / 447.5 MB, free: 1.125 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.5013, allocations: 170.4 kB / 447.6 MB, free: 0.9492 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.5014, allocations: 4 kB / 447.6 MB, free: 0.9453 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.5014, allocations: 0 / 447.6 MB, free: 0.9453 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.5014, allocations: 4 kB / 447.6 MB, free: 0.9414 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.5041, allocations: 0.8764 MB / 448.5 MB, free: 0 / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.5047, allocations: 152.8 kB / 448.7 MB, free: 15.84 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.5049, allocations: 52.86 kB / 448.7 MB, free: 15.79 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.505, allocations: 0 / 448.7 MB, free: 15.79 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/0.5053, allocations: 138.1 kB / 448.9 MB, free: 15.63 MB / 347.1 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.5053, allocations: 4 kB / 448.9 MB, free: 15.63 MB / 347.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009152/0.5063, allocations: 202.2 kB / 449.1 MB, free: 15.42 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/0.5064, allocations: 106.8 kB / 449.2 MB, free: 15.29 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.5068, allocations: 224.4 kB / 449.4 MB, free: 15.07 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 7.21e-05/0.5069, allocations: 25.7 kB / 449.4 MB, free: 15.04 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.5072, allocations: 234.2 kB / 449.6 MB, free: 14.81 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.87e-05/0.5072, allocations: 47.3 kB / 449.7 MB, free: 14.76 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.5073, allocations: 4 kB / 449.7 MB, free: 14.76 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.5074, allocations: 322.8 kB / 450 MB, free: 14.43 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.5076, allocations: 48 kB / 450 MB, free: 14.39 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.5079, allocations: 127.7 kB / 450.2 MB, free: 14.23 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.5081, allocations: 62.61 kB / 450.2 MB, free: 14.17 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5081, allocations: 0 / 450.2 MB, free: 14.17 MB / 347.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009758/0.5091, allocations: 262.3 kB / 450.5 MB, free: 13.91 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004448/0.5096, allocations: 0.815 MB / 451.3 MB, free: 13.02 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.5096, allocations: 4 kB / 451.3 MB, free: 13.02 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/0.51, allocations: 48.83 kB / 451.4 MB, free: 12.97 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.5104, allocations: 47.91 kB / 451.4 MB, free: 12.92 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006621/0.5111, allocations: 0.5983 MB / 452 MB, free: 12.3 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.5117, allocations: 47.91 kB / 452 MB, free: 12.25 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.5117, allocations: 15.98 kB / 452.1 MB, free: 12.24 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.5118, allocations: 4 kB / 452.1 MB, free: 12.23 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006383/0.5124, allocations: 190.2 kB / 452.3 MB, free: 12.05 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5124, allocations: 4 kB / 452.3 MB, free: 12.04 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.5126, allocations: 46.92 kB / 452.3 MB, free: 12 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.513, allocations: 47.91 kB / 452.3 MB, free: 11.95 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.5149, allocations: 1.486 MB / 453.8 MB, free: 10.35 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.5154, allocations: 39.81 kB / 453.9 MB, free: 10.31 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.5155, allocations: 12.06 kB / 453.9 MB, free: 10.3 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: 9 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002268/0.5157, allocations: 113 kB / 454 MB, free: 10.18 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.863e-05/0.5158, allocations: 23.77 kB / 454 MB, free: 10.16 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.069e-05/0.5159, allocations: 21.95 kB / 454 MB, free: 10.14 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.5159, allocations: 0 / 454 MB, free: 10.14 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5159, allocations: 7.938 kB / 454 MB, free: 10.13 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.5159, allocations: 0 / 454 MB, free: 10.13 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.5163, allocations: 257.9 kB / 454.3 MB, free: 9.84 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.5164, allocations: 4 kB / 454.3 MB, free: 9.836 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.5166, allocations: 31.91 kB / 454.3 MB, free: 9.809 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002381/0.5169, allocations: 44.84 kB / 454.4 MB, free: 9.762 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.5169, allocations: 7.938 kB / 454.4 MB, free: 9.754 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.5192, allocations: 1.545 MB / 455.9 MB, free: 8.098 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.5192, allocations: 4.031 kB / 455.9 MB, free: 8.094 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000814/0.5201, allocations: 238.1 kB / 456.2 MB, free: 7.84 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.5202, allocations: 104.8 kB / 456.3 MB, free: 7.719 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.5203, allocations: 3 kB / 456.3 MB, free: 7.719 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.5207, allocations: 35.97 kB / 456.3 MB, free: 7.684 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.5209, allocations: 24.36 kB / 456.3 MB, free: 7.66 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.5209, allocations: 7.984 kB / 456.3 MB, free: 7.652 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002559/0.5212, allocations: 164.5 kB / 456.5 MB, free: 7.496 MB / 347.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5212, allocations: 0 / 456.5 MB, free: 7.496 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0008484/0.522, allocations: 115.7 kB / 456.6 MB, free: 7.383 MB / 347.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002292/0.5223, allocations: 112.7 kB / 456.7 MB, free: 7.262 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.5235, allocations: 464.2 kB / 457.2 MB, free: 6.773 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5235, allocations: 0 / 457.2 MB, free: 6.773 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.524, allocations: 182.6 kB / 457.4 MB, free: 6.586 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.5245, allocations: 42.52 kB / 457.4 MB, free: 6.543 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.5278, allocations: 0.6522 MB / 458 MB, free: 5.859 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.5283, allocations: 0.7522 MB / 458.8 MB, free: 5.078 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.5284, allocations: 19.44 kB / 458.8 MB, free: 5.062 MB / 347.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5284, allocations: 0 / 458.8 MB, free: 5.062 MB / 347.1 MB Notification: Performance of Templates: time 0.01055/0.539, allocations: 3.902 MB / 462.7 MB, free: 1.188 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches