Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009502/0.0009501, allocations: 183.2 kB / 18.04 MB, free: 3.781 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.381/1.381, allocations: 205.4 MB / 224.2 MB, free: 9.039 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.0008456/0.0008457, allocations: 93.42 kB / 272.5 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003266, allocations: 12 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2261, allocations: 47.56 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09153/0.3177, allocations: 79.18 MB / 456.2 MB, free: 1.383 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.318, allocations: 83.95 kB / 456.3 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01632/0.3343, allocations: 5.699 MB / 462 MB, free: 11.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.3344, allocations: 0 / 462 MB, free: 11.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.3344, allocations: 4 kB / 462 MB, free: 11.57 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.001006/0.3354, allocations: 0.603 MB / 462.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3354, allocations: 8.031 kB / 462.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.468e-05/0.3355, allocations: 32.56 kB / 462.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.3359, allocations: 268.2 kB / 462.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.3359, allocations: 20.81 kB / 462.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.336, allocations: 24.38 kB / 462.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.3366, allocations: 255.8 kB / 463.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3366, allocations: 4.188 kB / 463.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.3366, allocations: 11.88 kB / 463.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3366, allocations: 4 kB / 463.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/0.3374, allocations: 285.6 kB / 463.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.339, allocations: 0.9439 MB / 464.4 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007347/0.3397, allocations: 262.5 kB / 464.7 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.34, allocations: 116.8 kB / 464.8 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.3401, allocations: 0 / 464.8 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005097/0.3406, allocations: 193.9 kB / 465 MB, free: 8.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.3406, allocations: 0 / 465 MB, free: 8.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.002034/0.3426, allocations: 0.7094 MB / 465.7 MB, free: 7.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.3427, allocations: 106.8 kB / 465.8 MB, free: 7.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.343, allocations: 253 kB / 466.1 MB, free: 7.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.343, allocations: 33.7 kB / 466.1 MB, free: 7.207 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3431, allocations: 167.8 kB / 466.3 MB, free: 7.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.3432, allocations: 47.44 kB / 466.3 MB, free: 6.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/0.3432, allocations: 4 kB / 466.3 MB, free: 6.988 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3433, allocations: 338.8 kB / 466.6 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.3436, allocations: 111.9 kB / 466.7 MB, free: 6.539 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.344, allocations: 171.6 kB / 466.9 MB, free: 6.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/0.3446, allocations: 281.9 kB / 467.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/0.3446, allocations: 0 / 467.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001081/0.3457, allocations: 478.6 kB / 467.7 MB, free: 5.562 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.522e-05/0.3458, allocations: 163.8 kB / 467.8 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3458, allocations: 0 / 467.8 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/0.3461, allocations: 80.78 kB / 467.9 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.3463, allocations: 43.97 kB / 467.9 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.3483, allocations: 1.753 MB / 469.7 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.3486, allocations: 51.84 kB / 469.7 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3486, allocations: 8 kB / 469.8 MB, free: 3.301 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.3486, allocations: 4 kB / 469.8 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006974/0.3493, allocations: 326.3 kB / 470.1 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.3494, allocations: 0 / 470.1 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/0.3495, allocations: 40.83 kB / 470.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.3497, allocations: 51.84 kB / 470.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.3509, allocations: 1.53 MB / 471.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.3513, allocations: 39.91 kB / 471.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.3514, allocations: 8 kB / 471.7 MB, free: 1.16 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.0001848/0.3516, allocations: 220.8 kB / 472 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.3516, allocations: 27.78 kB / 472 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.3517, allocations: 25.83 kB / 472 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3517, allocations: 11.92 kB / 472 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3517, allocations: 0 / 472 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3517, allocations: 3.938 kB / 472 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.352, allocations: 289.5 kB / 472.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.352, allocations: 0 / 472.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.3521, allocations: 27.97 kB / 472.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002064/0.3524, allocations: 72.81 kB / 472.4 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3524, allocations: 4 kB / 472.4 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.3541, allocations: 1.652 MB / 474.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3541, allocations: 0 / 474.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008459/0.3549, allocations: 365.6 kB / 474.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.355, allocations: 96.81 kB / 474.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.3551, allocations: 4 kB / 474.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3553, allocations: 39.97 kB / 474.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.3554, allocations: 23.91 kB / 474.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.3554, allocations: 11.98 kB / 474.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000187/0.3556, allocations: 180.5 kB / 474.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3556, allocations: 0 / 474.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005462/0.3562, allocations: 127.7 kB / 474.9 MB, free: 13.78 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.0001632/0.3564, allocations: 111.2 kB / 475 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.3578, allocations: 0.7347 MB / 475.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3578, allocations: 0 / 475.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.3583, allocations: 250.9 kB / 476 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.3587, allocations: 44.53 kB / 476 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000956/0.3596, allocations: 0.5121 MB / 476.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3599, allocations: 0.7485 MB / 477.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.3601, allocations: 30.27 kB / 477.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.3602, allocations: 19.44 kB / 477.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3602, allocations: 3.938 kB / 477.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of Templates: time 0.007885/0.3681, allocations: 3.808 MB / 481.1 MB, free: 7.422 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches