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.001153/0.001153, allocations: 114.4 kB / 17.68 MB, free: 5.332 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.001111/0.001111, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.539/1.539, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 47.5 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1723, allocations: 49.45 MB / 351.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.008669/0.181, allocations: 2.847 MB / 354.4 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.1833, allocations: 0.7284 MB / 355.1 MB, free: 80 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.1836, allocations: 11.94 kB / 355.1 MB, free: 68 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.184, allocations: 39.58 kB / 355.1 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.1844, allocations: 99.3 kB / 355.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.185, allocations: 115.8 kB / 355.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008675/0.1859, allocations: 390.4 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004691/0.1863, allocations: 123.2 kB / 355.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004367/0.1868, allocations: 155.4 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.1872, allocations: 163.3 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.765e-05/0.1873, allocations: 40 kB / 356.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.262e-05/0.1874, allocations: 36 kB / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1875, allocations: 75.7 kB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004382/0.1879, allocations: 171.2 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006825/0.1886, allocations: 426.6 kB / 356.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.1887, allocations: 0 / 356.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1887, allocations: 0 / 356.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.1887, allocations: 7.922 kB / 356.9 MB, free: 14.25 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.002102/0.1908, allocations: 0.6575 MB / 357.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.992e-05/0.1909, allocations: 11.89 kB / 357.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.191, allocations: 32.56 kB / 357.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007611/0.1918, allocations: 296.7 kB / 357.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.1918, allocations: 16.94 kB / 357.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.798e-05/0.1919, allocations: 28.28 kB / 357.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.193, allocations: 320 kB / 358.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1931, allocations: 0 / 358.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.1931, allocations: 12 kB / 358.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1931, allocations: 4 kB / 358.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.1942, allocations: 278 kB / 358.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.1969, allocations: 1.115 MB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.1981, allocations: 242.6 kB / 359.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/0.1986, allocations: 108.7 kB / 360 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.752e-05/0.1987, allocations: 4 kB / 360 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006652/0.1993, allocations: 169 kB / 360.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.956e-06/0.1994, allocations: 0 / 360.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001676/0.2011, allocations: 317.1 kB / 360.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.2011, allocations: 81.11 kB / 360.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.2016, allocations: 258.6 kB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.2017, allocations: 33.69 kB / 360.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.2019, allocations: 195.6 kB / 361 MB, free: 9.871 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/0.2019, allocations: 35.45 kB / 361.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.2021, allocations: 49.61 kB / 361.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.2023, allocations: 342.8 kB / 361.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005916/0.2029, allocations: 100.2 kB / 361.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006706/0.2036, allocations: 196.7 kB / 361.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.2049, allocations: 295.8 kB / 362 MB, free: 8.773 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.2049, allocations: 4 kB / 362 MB, free: 8.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001536/0.2065, allocations: 358.6 kB / 362.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.928e-05/0.2066, allocations: 41.69 kB / 362.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2066, allocations: 0 / 362.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.2066, allocations: 4 kB / 362.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.2072, allocations: 64.23 kB / 362.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.2072, allocations: 7.938 kB / 362.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.2078, allocations: 51.73 kB / 362.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.2078, allocations: 12 kB / 362.6 MB, free: 8.223 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002362/0.2081, allocations: 145.7 kB / 362.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.2082, allocations: 27.72 kB / 362.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.916e-05/0.2083, allocations: 25.7 kB / 362.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.2083, allocations: 7.938 kB / 362.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2083, allocations: 0 / 362.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.2083, allocations: 3.938 kB / 362.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.2088, allocations: 309.5 kB / 363.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2089, allocations: 0 / 363.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.2093, allocations: 47.95 kB / 363.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2093, allocations: 3.938 kB / 363.1 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.2093, allocations: 4 kB / 363.1 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2093, allocations: 0 / 363.1 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2093, allocations: 0 / 363.1 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.2112, allocations: 383.9 kB / 363.5 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.2114, allocations: 100.8 kB / 363.6 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.2115, allocations: 4 kB / 363.6 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.2119, allocations: 36.02 kB / 363.6 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.212, allocations: 15.98 kB / 363.6 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.2121, allocations: 7.938 kB / 363.7 MB, free: 7.027 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003252/0.2124, allocations: 194 kB / 363.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.837e-06/0.2124, allocations: 0 / 363.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005412/0.213, allocations: 67.78 kB / 363.9 MB, free: 6.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002288/0.2132, allocations: 99.25 kB / 364 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.2146, allocations: 300.6 kB / 364.3 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2146, allocations: 0.6875 kB / 364.3 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.2152, allocations: 99.92 kB / 364.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.2158, allocations: 36.55 kB / 364.4 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.2177, allocations: 0.5332 MB / 365 MB, free: 5.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.2183, allocations: 0.748 MB / 365.7 MB, free: 4.887 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001972/0.2185, allocations: 30.28 kB / 365.7 MB, free: 4.859 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.2186, allocations: 19.44 kB / 365.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2186, allocations: 0 / 365.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01254/0.2312, allocations: 2.971 MB / 368.7 MB, free: 1.895 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/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