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.002121/0.002121, allocations: 181 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.244/3.244, allocations: 205.4 MB / 223.5 MB, free: 8.945 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.001135/0.001136, allocations: 96.14 kB / 271.9 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006541/0.0006545, allocations: 8 kB / 328.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5869/0.5876, allocations: 47.57 MB / 375.7 MB, free: 45.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/0.8514, allocations: 79.18 MB / 454.9 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004603/0.852, allocations: 79.95 kB / 455 MB, free: 1.367 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03177/0.8838, allocations: 5.679 MB / 460.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.987e-06/0.8839, allocations: 4 kB / 460.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.8839, allocations: 7.984 kB / 460.7 MB, free: 11.65 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.001697/0.8856, allocations: 0.599 MB / 461.3 MB, free: 11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.138e-05/0.8857, allocations: 12.03 kB / 461.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.8858, allocations: 36.56 kB / 461.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005925/0.8865, allocations: 276.2 kB / 461.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.8865, allocations: 12.81 kB / 461.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/0.8866, allocations: 28.38 kB / 461.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009742/0.8876, allocations: 251.8 kB / 461.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.8876, allocations: 8.125 kB / 461.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.8877, allocations: 15.94 kB / 461.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.8877, allocations: 4 kB / 461.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.8889, allocations: 281.6 kB / 462.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/0.8917, allocations: 0.94 MB / 463.1 MB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.893, allocations: 258.6 kB / 463.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/0.8935, allocations: 116.7 kB / 463.5 MB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.8936, allocations: 4 kB / 463.5 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008557/0.8945, allocations: 200.6 kB / 463.7 MB, free: 8.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 5.209e-06/0.8945, allocations: 0 / 463.7 MB, free: 8.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.003454/0.898, allocations: 0.7058 MB / 464.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.8982, allocations: 110.8 kB / 464.5 MB, free: 7.566 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005715/0.8988, allocations: 254.6 kB / 464.7 MB, free: 7.312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.8988, allocations: 37.69 kB / 464.8 MB, free: 7.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.8991, allocations: 175.7 kB / 465 MB, free: 7.094 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.761e-05/0.8992, allocations: 43.45 kB / 465 MB, free: 7.051 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.8992, allocations: 4 kB / 465 MB, free: 7.047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002337/0.8995, allocations: 334.8 kB / 465.3 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.9, allocations: 115.9 kB / 465.4 MB, free: 6.598 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005873/0.9006, allocations: 186.9 kB / 465.6 MB, free: 6.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.9017, allocations: 299.4 kB / 465.9 MB, free: 6.059 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.9017, allocations: 4 kB / 465.9 MB, free: 6.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001796/0.9035, allocations: 484.5 kB / 466.4 MB, free: 5.566 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.9037, allocations: 174.7 kB / 466.6 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.9037, allocations: 4 kB / 466.6 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004988/0.9042, allocations: 80.8 kB / 466.6 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.9046, allocations: 43.91 kB / 466.7 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.9085, allocations: 1.818 MB / 468.5 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/0.9092, allocations: 59.86 kB / 468.6 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.9093, allocations: 8 kB / 468.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.9093, allocations: 4.938 kB / 468.6 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/0.9105, allocations: 344.7 kB / 468.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.9106, allocations: 7.922 kB / 468.9 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.9107, allocations: 40.83 kB / 469 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.9111, allocations: 51.91 kB / 469 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.913, allocations: 1.542 MB / 470.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/0.9136, allocations: 43.81 kB / 470.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.9136, allocations: 8 kB / 470.6 MB, free: 1.031 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.0004737/0.9141, allocations: 216.8 kB / 470.8 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.681e-05/0.9142, allocations: 27.78 kB / 470.8 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.112e-05/0.9143, allocations: 21.83 kB / 470.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.9143, allocations: 7.938 kB / 470.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.9144, allocations: 0 / 470.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.9144, allocations: 0 / 470.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.9149, allocations: 297.4 kB / 471.2 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.915, allocations: 0 / 471.2 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.9152, allocations: 27.97 kB / 471.2 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004153/0.9156, allocations: 76.8 kB / 471.3 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.9157, allocations: 0 / 471.3 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/0.9189, allocations: 1.744 MB / 473 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.9189, allocations: 4.031 kB / 473 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.9204, allocations: 365.1 kB / 473.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.9205, allocations: 108.8 kB / 473.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.9206, allocations: 11.94 kB / 473.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.921, allocations: 31.97 kB / 473.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.9211, allocations: 19.97 kB / 473.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.9212, allocations: 7.984 kB / 473.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003764/0.9215, allocations: 197.9 kB / 473.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.9216, allocations: 0 / 473.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00117/0.9227, allocations: 119.8 kB / 473.9 MB, free: 13.55 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.0002641/0.923, allocations: 115.1 kB / 474 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006946/0.93, allocations: 0.7939 MB / 474.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.9301, allocations: 4.125 kB / 474.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000813/0.9309, allocations: 250.5 kB / 475 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007406/0.9317, allocations: 44.47 kB / 475.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.9353, allocations: 0.9182 MB / 476 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.9359, allocations: 0.7523 MB / 476.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.9361, allocations: 19.44 kB / 476.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of SimCode: time 2.695e-06/0.9361, allocations: 4 kB / 476.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of Templates: time 0.01131/0.9474, allocations: 4.167 MB / 480.9 MB, free: 6.363 MB / 362.7 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