Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009661/0.0009661, allocations: 203.4 kB / 18.07 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.5 MB / 245.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007554/0.0007555, allocations: 103.2 kB / 297.4 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000213/0.000213, allocations: 4 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1831, allocations: 51.3 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08671/0.2698, allocations: 81.66 MB / 490.3 MB, free: 9.961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.2701, allocations: 83.95 kB / 490.4 MB, free: 9.879 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01412/0.2842, allocations: 5.735 MB / 496.2 MB, free: 4.133 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2842, allocations: 0 / 496.2 MB, free: 4.133 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.2842, allocations: 12 kB / 496.2 MB, free: 4.121 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008142/0.2851, allocations: 0.5964 MB / 496.8 MB, free: 3.473 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.2851, allocations: 12.03 kB / 496.8 MB, free: 3.461 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.2853, allocations: 52.45 kB / 496.8 MB, free: 3.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.2857, allocations: 304.2 kB / 497.1 MB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2857, allocations: 21.03 kB / 497.1 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.2857, allocations: 32.38 kB / 497.2 MB, free: 3.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.2864, allocations: 353.6 kB / 497.5 MB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2864, allocations: 192 / 497.5 MB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.2864, allocations: 15.94 kB / 497.5 MB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2864, allocations: 8 kB / 497.5 MB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005701/0.287, allocations: 286.4 kB / 497.8 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.289, allocations: 1.288 MB / 499.1 MB, free: 1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.2895, allocations: 297 kB / 499.4 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.2897, allocations: 108.7 kB / 499.5 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.2898, allocations: 0 / 499.5 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2898, allocations: 42.55 kB / 499.5 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.2898, allocations: 0 / 499.5 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001977/0.2918, allocations: 0.6862 MB / 0.4885 GB, free: 15.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.2918, allocations: 51.41 kB / 0.4886 GB, free: 15.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.2922, allocations: 295 kB / 0.4888 GB, free: 15.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.2922, allocations: 33.64 kB / 0.4889 GB, free: 15.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.2923, allocations: 219.8 kB / 0.4891 GB, free: 15.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.2924, allocations: 51.2 kB / 0.4891 GB, free: 15.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.2924, allocations: 4 kB / 0.4891 GB, free: 15.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2925, allocations: 338.8 kB / 0.4895 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.2927, allocations: 83.89 kB / 0.4895 GB, free: 14.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.293, allocations: 170.2 kB / 0.4897 GB, free: 14.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.2934, allocations: 248 kB / 0.4899 GB, free: 14.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2934, allocations: 4 kB / 0.4899 GB, free: 14.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009348/0.2944, allocations: 425.9 kB / 0.4903 GB, free: 13.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2944, allocations: 8 kB / 0.4904 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2944, allocations: 0 / 0.4904 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.2948, allocations: 124.8 kB / 0.4905 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.295, allocations: 35.98 kB / 0.4905 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.2976, allocations: 1.979 MB / 0.4924 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.2978, allocations: 39.67 kB / 0.4925 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.2979, allocations: 8 kB / 0.4925 GB, free: 11.48 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.298, allocations: 157.8 kB / 0.4926 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.2981, allocations: 23.72 kB / 0.4927 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/0.2981, allocations: 29.91 kB / 0.4927 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2981, allocations: 4 kB / 0.4927 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2981, allocations: 0 / 0.4927 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2982, allocations: 0 / 0.4927 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.2994, allocations: 0.7488 MB / 0.4934 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2994, allocations: 0 / 0.4934 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.2995, allocations: 12 kB / 0.4934 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003134/0.2998, allocations: 108.7 kB / 0.4935 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2999, allocations: 4 kB / 0.4935 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/0.3022, allocations: 1.956 MB / 0.4955 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3022, allocations: 4.078 kB / 0.4955 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.3031, allocations: 423.9 kB / 0.4959 GB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.3032, allocations: 108.7 kB / 0.496 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.3032, allocations: 3.984 kB / 0.496 GB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.3034, allocations: 39.86 kB / 0.496 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.3035, allocations: 7.984 kB / 0.496 GB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3035, allocations: 8 kB / 0.496 GB, free: 7.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002046/0.3037, allocations: 206 kB / 0.4962 GB, free: 7.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3037, allocations: 0 / 0.4962 GB, free: 7.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004901/0.3042, allocations: 91.75 kB / 0.4963 GB, free: 7.316 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.3044, allocations: 118.2 kB / 0.4964 GB, free: 7.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006583/0.305, allocations: 349.2 kB / 0.4967 GB, free: 6.844 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3051, allocations: 0 / 0.4967 GB, free: 6.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.3055, allocations: 226.1 kB / 0.497 GB, free: 6.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.3059, allocations: 51.25 kB / 0.497 GB, free: 6.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.307, allocations: 0.7009 MB / 0.4977 GB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3073, allocations: 0.7715 MB / 0.4985 GB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.3073, allocations: 19.44 kB / 0.4985 GB, free: 5.012 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3073, allocations: 0 / 0.4985 GB, free: 5.012 MB / 378.7 MB Notification: Performance of Templates: time 0.006046/0.3134, allocations: 4.657 MB / 0.503 GB, free: 364 kB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches