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.002315/0.002315, allocations: 182.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001132/0.001131, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.236e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4032/0.5033, allocations: 79.03 MB / 448.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.5036, allocations: 79.48 kB / 448.2 MB, free: 14.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02745/0.5311, allocations: 5.669 MB / 453.9 MB, free: 9.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5312, allocations: 4 kB / 453.9 MB, free: 9.227 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.5312, allocations: 4 kB / 453.9 MB, free: 9.223 MB / 330.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.001471/0.5327, allocations: 0.5762 MB / 454.5 MB, free: 8.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.5327, allocations: 8.031 kB / 454.5 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.5329, allocations: 27.72 kB / 454.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005046/0.5334, allocations: 264.4 kB / 454.8 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.5335, allocations: 15.77 kB / 454.8 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.5335, allocations: 18.5 kB / 454.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.5341, allocations: 201.6 kB / 455 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.5341, allocations: 0 / 455 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.5342, allocations: 6.438 kB / 455 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.5342, allocations: 12 kB / 455 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.5347, allocations: 158.5 kB / 455.2 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.5374, allocations: 0.9297 MB / 456.1 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005816/0.538, allocations: 155.9 kB / 456.2 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.5382, allocations: 55.3 kB / 456.3 MB, free: 7.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.5383, allocations: 4 kB / 456.3 MB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003481/0.5386, allocations: 140.8 kB / 456.4 MB, free: 6.898 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.815e-06/0.5386, allocations: 0 / 456.4 MB, free: 6.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008835/0.5395, allocations: 221.2 kB / 456.6 MB, free: 6.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.5396, allocations: 106.8 kB / 456.8 MB, free: 6.582 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.5401, allocations: 232.4 kB / 457 MB, free: 6.387 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.5401, allocations: 33.02 kB / 457 MB, free: 6.352 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.5403, allocations: 229.7 kB / 457.2 MB, free: 6.148 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.453e-05/0.5404, allocations: 53.55 kB / 457.3 MB, free: 6.102 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.5404, allocations: 3.125 kB / 457.3 MB, free: 6.102 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5406, allocations: 322.6 kB / 457.6 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.5408, allocations: 65.73 kB / 457.7 MB, free: 5.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.5411, allocations: 128 kB / 457.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.5413, allocations: 83.41 kB / 457.9 MB, free: 5.539 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5413, allocations: 3.938 kB / 457.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009945/0.5423, allocations: 318.8 kB / 458.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004215/0.5428, allocations: 0.8188 MB / 459 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.5428, allocations: 0 / 459 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003464/0.5431, allocations: 58.41 kB / 459.1 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.5435, allocations: 51.08 kB / 459.1 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009296/0.5445, allocations: 0.6385 MB / 459.8 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006112/0.5451, allocations: 51.44 kB / 459.8 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.5452, allocations: 15.17 kB / 459.8 MB, free: 3.605 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5452, allocations: 4 kB / 459.8 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00069/0.5459, allocations: 249 kB / 460.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5459, allocations: 8 kB / 460.1 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000167/0.5461, allocations: 35.69 kB / 460.1 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.5465, allocations: 47.41 kB / 460.2 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.5482, allocations: 1.534 MB / 461.7 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.5487, allocations: 51.16 kB / 461.7 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.5488, allocations: 10.81 kB / 461.8 MB, free: 1.723 MB / 330.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 () * 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.0001832/0.549, allocations: 123.5 kB / 461.9 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9e-05/0.5491, allocations: 23.72 kB / 461.9 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.158e-05/0.5492, allocations: 26.95 kB / 461.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.5492, allocations: 4 kB / 461.9 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5492, allocations: 3.938 kB / 461.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5492, allocations: 4 kB / 461.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.5496, allocations: 298.9 kB / 462.2 MB, free: 1.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5496, allocations: 0 / 462.2 MB, free: 1.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.5499, allocations: 27.97 kB / 462.3 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002364/0.5501, allocations: 48.39 kB / 462.3 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.5502, allocations: 0 / 462.3 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.5523, allocations: 1.61 MB / 463.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5524, allocations: 0 / 463.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.5532, allocations: 259.4 kB / 464.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.5534, allocations: 96.75 kB / 464.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.5535, allocations: 7.984 kB / 464.3 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.5539, allocations: 39.78 kB / 464.3 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.554, allocations: 19.84 kB / 464.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.5541, allocations: 4 kB / 464.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002843/0.5544, allocations: 186.8 kB / 464.5 MB, free: 15 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5544, allocations: 0 / 464.5 MB, free: 15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007612/0.5552, allocations: 131.7 kB / 464.6 MB, free: 14.87 MB / 346.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) * 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.0001918/0.5554, allocations: 107.2 kB / 464.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.5569, allocations: 0.5269 MB / 465.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5569, allocations: 1 kB / 465.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.5574, allocations: 198.6 kB / 465.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.5579, allocations: 40.53 kB / 465.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.561, allocations: 0.6663 MB / 466.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.5615, allocations: 0.7563 MB / 466.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.5616, allocations: 19.44 kB / 466.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5616, allocations: 0 / 466.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of Templates: time 0.009581/0.5712, allocations: 4.003 MB / 470.9 MB, free: 8.441 MB / 346.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