Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,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.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,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.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002663/0.002672, allocations: 182 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.782/3.782, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001297/0.001297, allocations: 108 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005204/0.0005205, allocations: 12 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6914/0.6919, allocations: 47.58 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/0.8867, allocations: 79.18 MB / 454.9 MB, free: 1.453 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000555/0.8874, allocations: 79.95 kB / 455 MB, free: 1.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0278/0.9152, allocations: 5.69 MB / 460.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.43e-06/0.9153, allocations: 0 / 460.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.423e-05/0.9154, allocations: 4 kB / 460.7 MB, free: 11.66 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.001904/0.9173, allocations: 0.6068 MB / 461.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.379e-05/0.9174, allocations: 8.031 kB / 461.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.9176, allocations: 32.56 kB / 461.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.9183, allocations: 268.2 kB / 461.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/0.9183, allocations: 16.81 kB / 461.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.295e-05/0.9184, allocations: 24.38 kB / 461.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.9196, allocations: 255.8 kB / 461.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.9196, allocations: 8.125 kB / 461.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.9197, allocations: 11.94 kB / 461.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.9197, allocations: 4 kB / 461.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.9212, allocations: 285.6 kB / 462.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/0.9245, allocations: 0.9361 MB / 463.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.926, allocations: 270.5 kB / 463.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/0.9266, allocations: 116.8 kB / 463.5 MB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.247e-05/0.9266, allocations: 0 / 463.5 MB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008949/0.9275, allocations: 196 kB / 463.7 MB, free: 8.441 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.9276, allocations: 0 / 463.7 MB, free: 8.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.003664/0.9312, allocations: 0.7097 MB / 464.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.9314, allocations: 106.8 kB / 464.5 MB, free: 7.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.932, allocations: 249 kB / 464.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/0.9321, allocations: 33.69 kB / 464.8 MB, free: 7.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.9323, allocations: 171.8 kB / 465 MB, free: 7.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/0.9324, allocations: 43.44 kB / 465 MB, free: 7.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.9325, allocations: 8 kB / 465 MB, free: 7.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.9327, allocations: 342.7 kB / 465.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.9333, allocations: 107.9 kB / 465.4 MB, free: 6.613 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.934, allocations: 174.1 kB / 465.6 MB, free: 6.418 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.9351, allocations: 282.8 kB / 465.9 MB, free: 6.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.9351, allocations: 3.938 kB / 465.9 MB, free: 6.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001971/0.9371, allocations: 467.6 kB / 466.3 MB, free: 5.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000274/0.9374, allocations: 159.9 kB / 466.5 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.9374, allocations: 0 / 466.5 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006639/0.9381, allocations: 80.8 kB / 466.6 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.9385, allocations: 39.97 kB / 466.6 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004215/0.9427, allocations: 1.753 MB / 468.4 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000747/0.9435, allocations: 55.8 kB / 468.4 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.9436, allocations: 4 kB / 468.4 MB, free: 3.383 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.9436, allocations: 4 kB / 468.4 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001521/0.9452, allocations: 323.4 kB / 468.8 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.9452, allocations: 8 kB / 468.8 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/0.9455, allocations: 40.83 kB / 468.8 MB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.9459, allocations: 55.78 kB / 468.9 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.9485, allocations: 1.53 MB / 470.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.9492, allocations: 39.88 kB / 470.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.9492, allocations: 8 kB / 470.4 MB, free: 1.238 MB / 346.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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.00042/0.9497, allocations: 220.8 kB / 470.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.9498, allocations: 27.78 kB / 470.7 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.9499, allocations: 17.84 kB / 470.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.95, allocations: 7.938 kB / 470.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.95, allocations: 7.922 kB / 470.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.95, allocations: 0 / 470.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/0.9507, allocations: 289.5 kB / 471 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.9507, allocations: 192 / 471 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.9509, allocations: 39.95 kB / 471 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/0.9514, allocations: 72.81 kB / 471.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.9514, allocations: 0 / 471.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003345/0.9548, allocations: 1.648 MB / 472.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9548, allocations: 4.062 kB / 472.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.9565, allocations: 360.5 kB / 473.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.9567, allocations: 104.8 kB / 473.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.9568, allocations: 0 / 473.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.9572, allocations: 43.97 kB / 473.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.9574, allocations: 23.91 kB / 473.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.9574, allocations: 7.984 kB / 473.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004002/0.9578, allocations: 180.5 kB / 473.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.9578, allocations: 0 / 473.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001126/0.959, allocations: 131.7 kB / 473.6 MB, free: 13.86 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.0003042/0.9593, allocations: 107.2 kB / 473.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002884/0.9622, allocations: 0.7322 MB / 474.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.9622, allocations: 0 / 474.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008625/0.9631, allocations: 250.8 kB / 474.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007496/0.9639, allocations: 48.47 kB / 474.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.9658, allocations: 0.5431 MB / 475.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/0.9665, allocations: 0.7485 MB / 476 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.9667, allocations: 15.44 kB / 476 MB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 5.851e-06/0.9667, allocations: 0 / 476 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.01325/0.98, allocations: 4.141 MB / 480.2 MB, free: 7.152 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches