Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001257/0.001257, allocations: 196 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.5 MB / 244.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000724/0.0007239, allocations: 103.9 kB / 296.8 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002329/0.0002331, allocations: 8 kB / 356.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1979, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002172/0.2001, allocations: 2.457 MB / 410.5 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000974/0.2011, allocations: 0.7068 MB / 411.2 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.2013, allocations: 5.719 kB / 411.2 MB, free: 24.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.2014, allocations: 31.75 kB / 411.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.2016, allocations: 80.41 kB / 411.3 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.2018, allocations: 68.58 kB / 411.4 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000279/0.2021, allocations: 354.5 kB / 411.7 MB, free: 24.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.2023, allocations: 106.3 kB / 411.8 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.2025, allocations: 131.5 kB / 412 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.2027, allocations: 135.9 kB / 412.1 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.2027, allocations: 19.5 kB / 412.1 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.235e-05/0.2028, allocations: 20 kB / 412.1 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.2028, allocations: 51.77 kB / 412.2 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.203, allocations: 157 kB / 412.4 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.2032, allocations: 328 kB / 412.7 MB, free: 23.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2032, allocations: 0 / 412.7 MB, free: 23.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2032, allocations: 0 / 412.7 MB, free: 23.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.2032, allocations: 3.938 kB / 412.7 MB, free: 23.07 MB / 298.7 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.001034/0.2043, allocations: 0.6303 MB / 413.3 MB, free: 22.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2043, allocations: 12.03 kB / 413.3 MB, free: 22.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.2044, allocations: 32.56 kB / 413.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.2047, allocations: 284.7 kB / 413.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.2047, allocations: 24.92 kB / 413.7 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.2047, allocations: 24.36 kB / 413.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.2053, allocations: 331.9 kB / 414 MB, free: 21.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2054, allocations: 0 / 414 MB, free: 21.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.2054, allocations: 16 kB / 414 MB, free: 21.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2054, allocations: 4 kB / 414 MB, free: 21.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006682/0.2061, allocations: 302.1 kB / 414.3 MB, free: 21.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.2075, allocations: 1.135 MB / 415.4 MB, free: 20.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007515/0.2083, allocations: 282.5 kB / 415.7 MB, free: 19.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.2086, allocations: 116.8 kB / 415.8 MB, free: 19.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.2086, allocations: 4 kB / 415.8 MB, free: 19.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004045/0.209, allocations: 184.9 kB / 416 MB, free: 19.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.209, allocations: 4 kB / 416 MB, free: 19.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009244/0.21, allocations: 360.3 kB / 416.4 MB, free: 19.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.21, allocations: 77.11 kB / 416.5 MB, free: 19.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.2102, allocations: 262.6 kB / 416.7 MB, free: 18.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.2103, allocations: 33.7 kB / 416.7 MB, free: 18.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.2103, allocations: 191.5 kB / 416.9 MB, free: 18.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.2104, allocations: 47.38 kB / 417 MB, free: 18.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.2104, allocations: 12 kB / 417 MB, free: 18.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.2105, allocations: 334.8 kB / 417.3 MB, free: 18.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.2108, allocations: 116.2 kB / 417.4 MB, free: 18.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.2111, allocations: 207.5 kB / 417.6 MB, free: 17.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/0.2117, allocations: 327.7 kB / 418 MB, free: 17.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2117, allocations: 4 kB / 418 MB, free: 17.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007364/0.2125, allocations: 387.8 kB / 418.3 MB, free: 17.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.2125, allocations: 37.64 kB / 418.4 MB, free: 17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2125, allocations: 7.984 kB / 418.4 MB, free: 17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2125, allocations: 4 kB / 418.4 MB, free: 16.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.2128, allocations: 79.94 kB / 418.5 MB, free: 16.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2128, allocations: 4 kB / 418.5 MB, free: 16.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.2131, allocations: 63.66 kB / 418.5 MB, free: 16.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.2131, allocations: 8 kB / 418.5 MB, free: 16.84 MB / 298.7 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.0001126/0.2133, allocations: 150.6 kB / 418.7 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.2133, allocations: 23.72 kB / 418.7 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.2133, allocations: 17.72 kB / 418.7 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2133, allocations: 3.984 kB / 418.7 MB, free: 16.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2134, allocations: 4 kB / 418.7 MB, free: 16.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2134, allocations: 7.875 kB / 418.7 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.2136, allocations: 309.4 kB / 419 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.2136, allocations: 4 kB / 419 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.2138, allocations: 47.95 kB / 419.1 MB, free: 16.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2138, allocations: 3.984 kB / 419.1 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.2138, allocations: 12 kB / 419.1 MB, free: 16.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2138, allocations: 0 / 419.1 MB, free: 16.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2139, allocations: 0 / 419.1 MB, free: 16.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.2148, allocations: 416.5 kB / 419.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.2148, allocations: 100.8 kB / 419.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.2149, allocations: 4 kB / 419.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.2151, allocations: 43.97 kB / 419.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.2151, allocations: 15.97 kB / 419.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2152, allocations: 7.938 kB / 419.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.2153, allocations: 190 kB / 419.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2153, allocations: 0 / 419.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.2156, allocations: 63.84 kB / 419.9 MB, free: 15.34 MB / 298.7 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.0001031/0.2157, allocations: 99.25 kB / 420 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006814/0.2164, allocations: 327.1 kB / 420.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2164, allocations: 0 / 420.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.2167, allocations: 120.4 kB / 420.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.217, allocations: 46.89 kB / 420.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008954/0.2179, allocations: 0.6511 MB / 421.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.2181, allocations: 0.7521 MB / 421.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.2182, allocations: 23.44 kB / 421.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2182, allocations: 0 / 421.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of Templates: time 0.003941/0.2221, allocations: 3.29 MB / 425.2 MB, free: 10 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches