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.001452/0.001452, allocations: 173 kB / 14.1 MB, free: 1.223 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.613/1.613, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.001082/0.001082, allocations: 90.69 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.347e-05/4.355e-05, allocations: 7.984 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09376/0.09382, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2776/0.3714, allocations: 79.03 MB / 449.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.3717, allocations: 79.83 kB / 449.1 MB, free: 14.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01602/0.3878, allocations: 5.679 MB / 454.8 MB, free: 9.312 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3878, allocations: 0 / 454.8 MB, free: 9.312 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.3878, allocations: 8 kB / 454.8 MB, free: 9.305 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.0009078/0.3887, allocations: 0.5676 MB / 455.4 MB, free: 8.707 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3888, allocations: 12.02 kB / 455.4 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.3888, allocations: 27.72 kB / 455.4 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.3892, allocations: 262.5 kB / 455.7 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.3892, allocations: 18.58 kB / 455.7 MB, free: 8.383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.3892, allocations: 23.06 kB / 455.7 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.3896, allocations: 196.9 kB / 455.9 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3896, allocations: 4 kB / 455.9 MB, free: 8.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.3896, allocations: 10.94 kB / 455.9 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3897, allocations: 4 kB / 455.9 MB, free: 8.215 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.3899, allocations: 156.4 kB / 456.1 MB, free: 8.121 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.3914, allocations: 0.9319 MB / 457 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.3918, allocations: 152.6 kB / 457.2 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.938e-05/0.3919, allocations: 61.05 kB / 457.2 MB, free: 7.117 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.392, allocations: 8 kB / 457.2 MB, free: 7.109 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.3923, allocations: 138.8 kB / 457.4 MB, free: 6.977 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.3923, allocations: 0 / 457.4 MB, free: 6.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005475/0.3928, allocations: 221.6 kB / 457.6 MB, free: 6.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.3929, allocations: 106.8 kB / 457.7 MB, free: 6.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.3932, allocations: 230.9 kB / 457.9 MB, free: 6.469 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3932, allocations: 29.7 kB / 458 MB, free: 6.434 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3933, allocations: 174.1 kB / 458.1 MB, free: 6.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.3933, allocations: 46.83 kB / 458.2 MB, free: 6.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.3934, allocations: 3.875 kB / 458.2 MB, free: 6.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3935, allocations: 334.4 kB / 458.5 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.925e-05/0.3936, allocations: 58.55 kB / 458.6 MB, free: 5.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.3938, allocations: 106.9 kB / 458.7 MB, free: 5.777 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3939, allocations: 89.08 kB / 458.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3939, allocations: 3.938 kB / 458.8 MB, free: 5.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005649/0.3945, allocations: 315.7 kB / 459.1 MB, free: 5.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002581/0.3948, allocations: 0.6486 MB / 459.7 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3948, allocations: 0 / 459.7 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.395, allocations: 51.52 kB / 459.8 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.3952, allocations: 43.78 kB / 459.8 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004266/0.3956, allocations: 0.5819 MB / 460.4 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.3959, allocations: 55.73 kB / 460.4 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.396, allocations: 11.81 kB / 460.5 MB, free: 4.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.396, allocations: 7.984 kB / 460.5 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004129/0.3964, allocations: 232.5 kB / 460.7 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.3964, allocations: 0 / 460.7 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.156e-05/0.3965, allocations: 44.77 kB / 460.7 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.3967, allocations: 44.16 kB / 460.8 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.3978, allocations: 1.522 MB / 462.3 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.3981, allocations: 48.12 kB / 462.3 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.3981, allocations: 8 kB / 462.4 MB, free: 2.004 MB / 330.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 () * 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.0001037/0.3982, allocations: 126.2 kB / 462.5 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.3982, allocations: 23.77 kB / 462.5 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.3983, allocations: 29.97 kB / 462.5 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3983, allocations: 7.984 kB / 462.5 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.3983, allocations: 0 / 462.5 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3983, allocations: 0 / 462.5 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.3986, allocations: 293.3 kB / 462.8 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3986, allocations: 0 / 462.8 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3988, allocations: 35.95 kB / 462.9 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.3989, allocations: 48.84 kB / 462.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.3989, allocations: 7.938 kB / 462.9 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.4002, allocations: 1.515 MB / 464.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4003, allocations: 192 / 464.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.4007, allocations: 249.7 kB / 464.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.4008, allocations: 96.83 kB / 464.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.4008, allocations: 8 kB / 464.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.4011, allocations: 47.89 kB / 464.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.4011, allocations: 19.97 kB / 464.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.4012, allocations: 4 kB / 464.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.4013, allocations: 181.4 kB / 465 MB, free: 15.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4013, allocations: 4 kB / 465 MB, free: 15.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004507/0.4018, allocations: 123.7 kB / 465.1 MB, free: 14.97 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.0001588/0.402, allocations: 107.2 kB / 465.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007092/0.4027, allocations: 477 kB / 465.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4027, allocations: 0.75 kB / 465.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.403, allocations: 198.5 kB / 465.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.4032, allocations: 40.5 kB / 466 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.4038, allocations: 276.1 kB / 466.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.4041, allocations: 0.757 MB / 467 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.4043, allocations: 34.05 kB / 467 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.4044, allocations: 15.44 kB / 467 MB, free: 12.98 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4044, allocations: 0 / 467 MB, free: 12.98 MB / 346.7 MB Notification: Performance of Templates: time 0.006794/0.4112, allocations: 3.804 MB / 470.8 MB, free: 9.188 MB / 346.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/jenkins/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