Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 88.72 kB / 16.31 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.00124, allocations: 179.9 kB / 17.21 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 223.2 MB / 241.2 MB, free: 360 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003984, allocations: 8 kB / 300.8 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1807, allocations: 50.43 MB / 351.3 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003522/0.1843, allocations: 2.43 MB / 353.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1858, allocations: 0.6783 MB / 354.4 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003025/0.1862, allocations: 4 kB / 354.4 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1864, allocations: 35.7 kB / 354.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.1867, allocations: 75.38 kB / 354.5 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.1871, allocations: 79.91 kB / 354.6 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004989/0.1876, allocations: 342.6 kB / 354.9 MB, free: 380 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.1878, allocations: 85.81 kB / 355 MB, free: 292 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.1882, allocations: 127.5 kB / 355.1 MB, free: 164 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.1884, allocations: 139.4 kB / 355.2 MB, free: 24 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.1885, allocations: 16 kB / 355.2 MB, free: 8 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.847e-05/0.1886, allocations: 16.05 kB / 355.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.1887, allocations: 47.72 kB / 355.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.1888, allocations: 81.58 kB / 355.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.1891, allocations: 335.2 kB / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1891, allocations: 0 / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1891, allocations: 0 / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.1891, allocations: 0 / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001271/0.1904, allocations: 0.6379 MB / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1905, allocations: 12.03 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.1906, allocations: 31.62 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.191, allocations: 279.6 kB / 356.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.1911, allocations: 16.55 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.1911, allocations: 24 kB / 356.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007242/0.1919, allocations: 335.5 kB / 357 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1919, allocations: 0 / 357 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.1919, allocations: 11.98 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.1919, allocations: 8 kB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008022/0.1927, allocations: 306.1 kB / 357.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.1947, allocations: 1.146 MB / 358.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008197/0.1955, allocations: 278.5 kB / 358.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.1959, allocations: 120.8 kB / 358.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1959, allocations: 3.938 kB / 358.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004772/0.1964, allocations: 184.9 kB / 359.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.1964, allocations: 0 / 359.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001051/0.1975, allocations: 361.5 kB / 359.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.1976, allocations: 81.11 kB / 359.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.1979, allocations: 262.5 kB / 359.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1979, allocations: 33.7 kB / 359.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.1981, allocations: 187.6 kB / 360 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.1981, allocations: 39.45 kB / 360 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.1982, allocations: 8 kB / 360 MB, free: 10.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1983, allocations: 330.8 kB / 360.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.1986, allocations: 116.2 kB / 360.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.199, allocations: 208.4 kB / 360.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.1994, allocations: 157.6 kB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.1994, allocations: 7.953 kB / 360.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008946/0.2003, allocations: 382.9 kB / 361.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.2004, allocations: 37.7 kB / 361.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.2004, allocations: 11.98 kB / 361.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.2005, allocations: 8.094 kB / 361.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.2008, allocations: 67.89 kB / 361.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.2008, allocations: 7.938 kB / 361.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.2011, allocations: 63.7 kB / 361.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.2012, allocations: 8 kB / 361.4 MB, free: 9.504 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (26): * Single equations (assignments): 25 * 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.0002039/0.2014, allocations: 149.7 kB / 361.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.2014, allocations: 23.77 kB / 361.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.417e-05/0.2015, allocations: 21.7 kB / 361.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2015, allocations: 0 / 361.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2015, allocations: 0 / 361.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2015, allocations: 8 kB / 361.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.2019, allocations: 313.4 kB / 361.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2019, allocations: 0 / 361.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.2022, allocations: 55.89 kB / 362 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2022, allocations: 0 / 362 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.2022, allocations: 11.98 kB / 362 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.2022, allocations: 4 kB / 362 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2023, allocations: 0 / 362 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.2033, allocations: 404.6 kB / 362.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/0.2034, allocations: 100.8 kB / 362.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.2035, allocations: 7.953 kB / 362.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.2037, allocations: 44.02 kB / 362.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.2038, allocations: 15.98 kB / 362.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.2038, allocations: 3.984 kB / 362.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002206/0.204, allocations: 189.9 kB / 362.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.204, allocations: 0 / 362.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003484/0.2044, allocations: 71.78 kB / 362.8 MB, free: 8.008 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * 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 (12): * Single equations (assignments): 10 * 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.0001981/0.2046, allocations: 99.25 kB / 362.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007926/0.2054, allocations: 319.7 kB / 363.2 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2054, allocations: 8.062 kB / 363.2 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.2057, allocations: 115.8 kB / 363.3 MB, free: 7.457 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.2061, allocations: 51.36 kB / 363.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2073, allocations: 0.6337 MB / 364 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.2077, allocations: 0.7482 MB / 364.8 MB, free: 5.973 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.2078, allocations: 26.28 kB / 364.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.2079, allocations: 19.44 kB / 364.8 MB, free: 5.93 MB / 302.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2079, allocations: 0 / 364.8 MB, free: 5.93 MB / 302.1 MB Notification: Performance of Templates: time 0.007109/0.215, allocations: 2.649 MB / 367.5 MB, free: 3.312 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches