Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000966/0.0009659, allocations: 171.9 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.881/1.881, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008883/0.0008885, allocations: 82.72 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.309e-05, allocations: 7.984 kB / 322.5 MB, free: 17.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 47.58 MB / 370 MB, free: 1.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3784/0.482, allocations: 79.15 MB / 449.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4823, allocations: 77.77 kB / 449.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01619/0.4985, allocations: 5.476 MB / 454.7 MB, free: 9.414 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4986, allocations: 0 / 454.7 MB, free: 9.414 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.4986, allocations: 4 kB / 454.7 MB, free: 9.41 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00109/0.4997, allocations: 0.5511 MB / 455.3 MB, free: 8.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/0.4998, allocations: 8.031 kB / 455.3 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.601e-05/0.4999, allocations: 31.62 kB / 455.3 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.5004, allocations: 265.9 kB / 455.6 MB, free: 8.504 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.5004, allocations: 16.2 kB / 455.6 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.5005, allocations: 27.73 kB / 455.6 MB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.501, allocations: 187.8 kB / 455.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.501, allocations: 0 / 455.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.501, allocations: 6.5 kB / 455.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.501, allocations: 4 kB / 455.8 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.5014, allocations: 150.3 kB / 456 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.503, allocations: 0.8873 MB / 456.9 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.5034, allocations: 147.7 kB / 457 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.5036, allocations: 54.86 kB / 457.1 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.5036, allocations: 4 kB / 457.1 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.5039, allocations: 127.5 kB / 457.2 MB, free: 7.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.5039, allocations: 224 / 457.2 MB, free: 7.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003412/0.5042, allocations: 139.8 kB / 457.3 MB, free: 7.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.5043, allocations: 85.05 kB / 457.4 MB, free: 6.941 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.5046, allocations: 216.4 kB / 457.6 MB, free: 6.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.5046, allocations: 29.7 kB / 457.7 MB, free: 6.727 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.5047, allocations: 164.9 kB / 457.8 MB, free: 6.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.5048, allocations: 43.12 kB / 457.9 MB, free: 6.551 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.5048, allocations: 7.562 kB / 457.9 MB, free: 6.547 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.505, allocations: 333.8 kB / 458.2 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.5051, allocations: 46.62 kB / 458.2 MB, free: 6.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.5052, allocations: 108.8 kB / 458.3 MB, free: 6.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.5054, allocations: 76.34 kB / 458.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5054, allocations: 0 / 458.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003694/0.5057, allocations: 241.3 kB / 458.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003178/0.5061, allocations: 0.644 MB / 459.3 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.5061, allocations: 4 kB / 459.3 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.5061, allocations: 0 / 459.3 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.5064, allocations: 67.64 kB / 459.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.5064, allocations: 4 kB / 459.4 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.5067, allocations: 47.19 kB / 459.4 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.5068, allocations: 11.98 kB / 459.4 MB, free: 5.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.5068, allocations: 8 kB / 459.4 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002873/0.5071, allocations: 187.5 kB / 459.6 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.5071, allocations: 4 kB / 459.6 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.5071, allocations: 4 kB / 459.6 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.5073, allocations: 59.52 kB / 459.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.5073, allocations: 8.188 kB / 459.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.5076, allocations: 43.5 kB / 459.7 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.5076, allocations: 7.953 kB / 459.7 MB, free: 4.742 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 (22): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.5077, allocations: 113.3 kB / 459.9 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.5078, allocations: 23.38 kB / 459.9 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.037e-05/0.5078, allocations: 21.33 kB / 459.9 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5078, allocations: 7.938 kB / 459.9 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5078, allocations: 4 kB / 459.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5079, allocations: 0 / 459.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.5081, allocations: 289 kB / 460.2 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.5081, allocations: 4 kB / 460.2 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.5084, allocations: 43.97 kB / 460.2 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5084, allocations: 4 kB / 460.2 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.5084, allocations: 7.984 kB / 460.2 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5084, allocations: 0 / 460.2 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5084, allocations: 0 / 460.2 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.5088, allocations: 232.9 kB / 460.5 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.5089, allocations: 104.8 kB / 460.6 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.509, allocations: 4 kB / 460.6 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.5092, allocations: 40.03 kB / 460.6 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.5093, allocations: 15.95 kB / 460.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.5093, allocations: 8 kB / 460.6 MB, free: 3.793 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.5095, allocations: 169.4 kB / 460.8 MB, free: 3.625 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5095, allocations: 3.938 kB / 460.8 MB, free: 3.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003787/0.5099, allocations: 107.7 kB / 460.9 MB, free: 3.516 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (13): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001907/0.5101, allocations: 115.2 kB / 461 MB, free: 3.395 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005176/0.5106, allocations: 324.4 kB / 461.3 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5106, allocations: 0 / 461.3 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.5107, allocations: 55.94 kB / 461.4 MB, free: 3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.511, allocations: 45.3 kB / 461.4 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000749/0.5118, allocations: 311 kB / 461.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.5122, allocations: 0.7407 MB / 462.5 MB, free: 1.859 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.5124, allocations: 34.05 kB / 462.5 MB, free: 1.828 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.5124, allocations: 23.44 kB / 462.5 MB, free: 1.805 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5124, allocations: 3.938 kB / 462.6 MB, free: 1.801 MB / 330.7 MB Notification: Performance of Templates: time 0.006074/0.5185, allocations: 2.808 MB / 465.4 MB, free: 15 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches