Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 180 kB / 17.01 MB, free: 5.125 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.856/1.856, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009235/0.0009233, allocations: 95.89 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003019, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3634, allocations: 47.58 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.5051, allocations: 78.33 MB / 454.2 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.5054, allocations: 71.95 kB / 454.2 MB, free: 2.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02329/0.5287, allocations: 5.754 MB / 460 MB, free: 12.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.5288, allocations: 0 / 460 MB, free: 12.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.241e-05/0.5288, allocations: 4 kB / 460 MB, free: 12.47 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001609/0.5305, allocations: 0.6071 MB / 460.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.5305, allocations: 8.031 kB / 460.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.521e-05/0.5306, allocations: 39.62 kB / 460.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.5312, allocations: 275.4 kB / 460.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.5312, allocations: 20.56 kB / 460.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.5313, allocations: 24 kB / 460.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.5323, allocations: 307.4 kB / 461.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.5324, allocations: 0 / 461.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/0.5324, allocations: 8 kB / 461.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.5325, allocations: 8 kB / 461.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.5336, allocations: 277.5 kB / 461.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.536, allocations: 1.118 MB / 462.7 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.5372, allocations: 238.5 kB / 462.9 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.5373, allocations: 0 / 462.9 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006652/0.538, allocations: 185.7 kB / 463.1 MB, free: 9.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.074e-06/0.538, allocations: 0 / 463.1 MB, free: 9.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.002753/0.5407, allocations: 0.5498 MB / 463.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.5409, allocations: 102.8 kB / 463.7 MB, free: 8.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.5414, allocations: 249.8 kB / 464 MB, free: 8.207 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.006e-05/0.5414, allocations: 33.7 kB / 464 MB, free: 8.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.5417, allocations: 195.5 kB / 464.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/0.5418, allocations: 51.38 kB / 464.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.5418, allocations: 8 kB / 464.2 MB, free: 7.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.542, allocations: 330.8 kB / 464.6 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.5426, allocations: 108.2 kB / 464.7 MB, free: 7.469 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/0.5432, allocations: 210.1 kB / 464.9 MB, free: 7.215 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.5437, allocations: 145.6 kB / 465 MB, free: 7.066 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/0.5437, allocations: 4 kB / 465 MB, free: 7.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001639/0.5454, allocations: 443.7 kB / 465.5 MB, free: 6.613 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.129e-05/0.5455, allocations: 33.7 kB / 465.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.5455, allocations: 4 kB / 465.5 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/0.5461, allocations: 76.83 kB / 465.6 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.5465, allocations: 51.91 kB / 465.6 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.5499, allocations: 1.62 MB / 467.2 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006598/0.5506, allocations: 55.66 kB / 467.3 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.5506, allocations: 16 kB / 467.3 MB, free: 4.621 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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.000359/0.551, allocations: 153.8 kB / 467.5 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.5511, allocations: 27.7 kB / 467.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.05e-05/0.5512, allocations: 17.72 kB / 467.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5512, allocations: 7.984 kB / 467.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5512, allocations: 0 / 467.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.5512, allocations: 7.891 kB / 467.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.5517, allocations: 293.4 kB / 467.8 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5518, allocations: 0 / 467.8 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.552, allocations: 31.91 kB / 467.8 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004143/0.5524, allocations: 68.8 kB / 467.9 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.5524, allocations: 4 kB / 467.9 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003174/0.5556, allocations: 1.601 MB / 469.5 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5556, allocations: 0 / 469.5 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.5571, allocations: 337.4 kB / 469.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.5573, allocations: 112.8 kB / 469.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.5574, allocations: 0 / 469.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.5578, allocations: 47.89 kB / 470 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.5579, allocations: 19.97 kB / 470 MB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.558, allocations: 4 kB / 470 MB, free: 1.676 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003515/0.5583, allocations: 198 kB / 470.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5584, allocations: 0 / 470.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007329/0.5591, allocations: 79.84 kB / 470.3 MB, free: 1.406 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0002451/0.5594, allocations: 107.2 kB / 470.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.5608, allocations: 433.8 kB / 470.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.5608, allocations: 0 / 470.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006782/0.5615, allocations: 233.9 kB / 471 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.5619, allocations: 40.81 kB / 471.1 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.5638, allocations: 0.5589 MB / 471.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.5646, allocations: 0.756 MB / 472.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002453/0.5648, allocations: 26.28 kB / 472.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.668e-05/0.5649, allocations: 19.44 kB / 472.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of SimCode: time 2.074e-06/0.5649, allocations: 0 / 472.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of Templates: time 0.01217/0.5771, allocations: 3.644 MB / 476.1 MB, free: 11.54 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches