Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001406/0.001406, allocations: 181.3 kB / 17.01 MB, free: 5.121 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.831/1.831, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.001084/0.001084, allocations: 96.09 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3371, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.4522, allocations: 79.11 MB / 454.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.4525, allocations: 83.95 kB / 455 MB, free: 1.465 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0268/0.4793, allocations: 5.687 MB / 460.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4794, allocations: 0 / 460.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.591e-05/0.4794, allocations: 7.938 kB / 460.7 MB, free: 11.75 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001827/0.4813, allocations: 0.6028 MB / 461.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.4813, allocations: 8.031 kB / 461.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.4815, allocations: 31.62 kB / 461.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.482, allocations: 267.3 kB / 461.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.4821, allocations: 20.39 kB / 461.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.4822, allocations: 16 kB / 461.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.4832, allocations: 267.1 kB / 461.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4832, allocations: 4 kB / 461.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.4833, allocations: 4 kB / 461.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4833, allocations: 4 kB / 461.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.4848, allocations: 297.5 kB / 462.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.4876, allocations: 0.9324 MB / 463.1 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.4891, allocations: 270.5 kB / 463.4 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.4892, allocations: 4 kB / 463.4 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008045/0.49, allocations: 190 kB / 463.6 MB, free: 8.652 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.667e-06/0.49, allocations: 0 / 463.6 MB, free: 8.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.003461/0.4935, allocations: 0.6573 MB / 464.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.4936, allocations: 114.7 kB / 464.4 MB, free: 7.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.4941, allocations: 233.7 kB / 464.6 MB, free: 7.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.4942, allocations: 33.7 kB / 464.6 MB, free: 7.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.4944, allocations: 171.8 kB / 464.8 MB, free: 7.391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.557e-05/0.4945, allocations: 47.44 kB / 464.8 MB, free: 7.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.4946, allocations: 0 / 464.8 MB, free: 7.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002498/0.4948, allocations: 342.8 kB / 465.2 MB, free: 7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.4954, allocations: 107.9 kB / 465.3 MB, free: 6.895 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.4961, allocations: 186.9 kB / 465.5 MB, free: 6.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/0.4967, allocations: 149.5 kB / 465.6 MB, free: 6.527 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4967, allocations: 0 / 465.6 MB, free: 6.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002006/0.4988, allocations: 444.9 kB / 466 MB, free: 6.078 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005718/0.4994, allocations: 0.8159 MB / 466.9 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.4994, allocations: 7.984 kB / 466.9 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/0.5, allocations: 76.81 kB / 466.9 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.5004, allocations: 43.97 kB / 467 MB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.5018, allocations: 0.681 MB / 467.7 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/0.5024, allocations: 55.8 kB / 467.7 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.5025, allocations: 8 kB / 467.7 MB, free: 4.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.5025, allocations: 4.062 kB / 467.7 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001427/0.504, allocations: 335 kB / 468.1 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.504, allocations: 7.938 kB / 468.1 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.5042, allocations: 40.83 kB / 468.1 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.5046, allocations: 47.91 kB / 468.2 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.5069, allocations: 1.554 MB / 469.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.5075, allocations: 43.81 kB / 469.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.5075, allocations: 12 kB / 469.8 MB, free: 2.121 MB / 346.7 MB 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 () * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003462/0.5079, allocations: 227.7 kB / 470 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.508, allocations: 23.7 kB / 470 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-05/0.5081, allocations: 29.83 kB / 470 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5081, allocations: 0 / 470 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5081, allocations: 0 / 470 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.5081, allocations: 4 kB / 470 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.5086, allocations: 305.3 kB / 470.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5087, allocations: 0 / 470.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.5089, allocations: 27.98 kB / 470.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004323/0.5094, allocations: 72.8 kB / 470.4 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.5094, allocations: 8 kB / 470.4 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003564/0.513, allocations: 1.749 MB / 472.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.513, allocations: 0 / 472.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.5141, allocations: 373.5 kB / 472.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.5143, allocations: 112.7 kB / 472.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.5143, allocations: 4 kB / 472.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.5146, allocations: 39.95 kB / 472.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/0.5147, allocations: 23.97 kB / 472.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.5147, allocations: 0 / 472.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001975/0.5149, allocations: 190 kB / 472.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5149, allocations: 0 / 472.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005701/0.5155, allocations: 123.7 kB / 473 MB, free: 14.6 MB / 362.7 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) * Number of clocked states: 0 () * 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.000204/0.5157, allocations: 111.2 kB / 473.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.5173, allocations: 0.6797 MB / 473.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5173, allocations: 0 / 473.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.5178, allocations: 259 kB / 474.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.5181, allocations: 42.66 kB / 474.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.5202, allocations: 0.8816 MB / 475 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.5206, allocations: 0.7563 MB / 475.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.5207, allocations: 30.27 kB / 475.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.5208, allocations: 19.44 kB / 475.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of SimCode: time 2.295e-06/0.5208, allocations: 0 / 475.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of Templates: time 0.007798/0.5286, allocations: 3.547 MB / 479.4 MB, free: 8.215 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches