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.0009756/0.0009756, allocations: 200 kB / 18.06 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 226.5 MB / 245.4 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007135/0.0007135, allocations: 92.55 kB / 297.4 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002035/0.0002035, allocations: 12 kB / 357.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1864, allocations: 51.28 MB / 408.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08809/0.2745, allocations: 82.28 MB / 490.9 MB, free: 9.352 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.2748, allocations: 83.95 kB / 491 MB, free: 9.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01619/0.291, allocations: 6.361 MB / 497.4 MB, free: 2.887 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.291, allocations: 0 / 497.4 MB, free: 2.887 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.291, allocations: 8 kB / 497.4 MB, free: 2.879 MB / 362.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.0009266/0.2919, allocations: 0.6157 MB / 498 MB, free: 2.203 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.292, allocations: 8.031 kB / 498 MB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.292, allocations: 32.56 kB / 498.1 MB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.2924, allocations: 293.2 kB / 498.3 MB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.2924, allocations: 20.94 kB / 498.4 MB, free: 1.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.2924, allocations: 24.38 kB / 498.4 MB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/0.2931, allocations: 324.2 kB / 498.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2931, allocations: 4.188 kB / 498.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.2931, allocations: 15.94 kB / 498.7 MB, free: 1.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2931, allocations: 4 kB / 498.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007546/0.2939, allocations: 306 kB / 499 MB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.2956, allocations: 1.146 MB / 0.4884 GB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.2964, allocations: 274.6 kB / 0.4887 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.2967, allocations: 119.7 kB / 0.4888 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2967, allocations: 4 kB / 0.4888 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/0.2972, allocations: 190.1 kB / 0.489 GB, free: 15.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.2972, allocations: 0 / 0.489 GB, free: 15.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.001003/0.2982, allocations: 353.2 kB / 0.4893 GB, free: 14.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.2982, allocations: 81.11 kB / 0.4894 GB, free: 14.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.2985, allocations: 262.6 kB / 0.4897 GB, free: 14.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.2985, allocations: 33.7 kB / 0.4897 GB, free: 14.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2986, allocations: 191.5 kB / 0.4899 GB, free: 14.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.2987, allocations: 47.36 kB / 0.4899 GB, free: 14.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.2987, allocations: 4 kB / 0.4899 GB, free: 14.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.2988, allocations: 338.8 kB / 0.4903 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.2991, allocations: 116.2 kB / 0.4904 GB, free: 13.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.2995, allocations: 207.4 kB / 0.4906 GB, free: 13.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/0.3002, allocations: 335.7 kB / 0.4909 GB, free: 13.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3002, allocations: 0 / 0.4909 GB, free: 13.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008157/0.301, allocations: 393.8 kB / 0.4913 GB, free: 12.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.3011, allocations: 33.89 kB / 0.4913 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3011, allocations: 8 kB / 0.4913 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3011, allocations: 7.938 kB / 0.4913 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.3014, allocations: 79.88 kB / 0.4914 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3014, allocations: 4 kB / 0.4914 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.3017, allocations: 59.66 kB / 0.4914 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.3017, allocations: 12 kB / 0.4915 GB, free: 12.65 MB / 378.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.000124/0.3018, allocations: 149.7 kB / 0.4916 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3019, allocations: 15.81 kB / 0.4916 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.3019, allocations: 25.72 kB / 0.4916 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3019, allocations: 0 / 0.4916 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.302, allocations: 7.984 kB / 0.4917 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.302, allocations: 0 / 0.4917 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.3022, allocations: 321.2 kB / 0.492 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3022, allocations: 0 / 0.492 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.3025, allocations: 47.95 kB / 0.492 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3025, allocations: 4 kB / 0.492 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3025, allocations: 4 kB / 0.492 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3025, allocations: 0 / 0.492 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3025, allocations: 3.938 kB / 0.492 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009998/0.3035, allocations: 412.5 kB / 0.4924 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.3036, allocations: 100.9 kB / 0.4925 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.3036, allocations: 4 kB / 0.4925 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.3039, allocations: 36.03 kB / 0.4925 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.304, allocations: 19.97 kB / 0.4926 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.304, allocations: 4 kB / 0.4926 GB, free: 11.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001634/0.3041, allocations: 190 kB / 0.4927 GB, free: 11.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3041, allocations: 0 / 0.4927 GB, free: 11.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002774/0.3044, allocations: 75.69 kB / 0.4928 GB, free: 11.16 MB / 378.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.0001286/0.3046, allocations: 115.1 kB / 0.4929 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000742/0.3053, allocations: 331.5 kB / 0.4932 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3053, allocations: 0 / 0.4932 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.3057, allocations: 110.8 kB / 0.4933 GB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.306, allocations: 54.81 kB / 0.4934 GB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009693/0.3069, allocations: 0.6589 MB / 0.494 GB, free: 9.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.3072, allocations: 0.7521 MB / 0.4948 GB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.3073, allocations: 23.44 kB / 0.4948 GB, free: 9.051 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3073, allocations: 3.938 kB / 0.4948 GB, free: 9.047 MB / 378.7 MB Notification: Performance of Templates: time 0.004423/0.3117, allocations: 3.295 MB / 0.498 GB, free: 5.777 MB / 378.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/jenkins1/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