Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 200.5 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000851/0.0008511, allocations: 98.98 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3457, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.4607, allocations: 81.67 MB / 491.1 MB, free: 9.836 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.461, allocations: 79.95 kB / 491.1 MB, free: 9.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01517/0.4762, allocations: 5.744 MB / 496.9 MB, free: 4.004 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4763, allocations: 0 / 496.9 MB, free: 4.004 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.4763, allocations: 4 kB / 496.9 MB, free: 4 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.001031/0.4773, allocations: 0.6003 MB / 497.5 MB, free: 3.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4774, allocations: 12.03 kB / 497.5 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.4776, allocations: 52.45 kB / 497.6 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.478, allocations: 308.2 kB / 497.9 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.4781, allocations: 21.03 kB / 497.9 MB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.4781, allocations: 32.38 kB / 497.9 MB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006796/0.4788, allocations: 349.6 kB / 498.2 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.4789, allocations: 192 / 498.2 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.4789, allocations: 15.88 kB / 498.3 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.4789, allocations: 8 kB / 498.3 MB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000593/0.4795, allocations: 282.4 kB / 498.5 MB, free: 2.246 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.4816, allocations: 1.291 MB / 499.8 MB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005872/0.4822, allocations: 301 kB / 0.4884 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.4824, allocations: 107.8 kB / 0.4885 GB, free: 460 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.4824, allocations: 0 / 0.4885 GB, free: 460 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.4825, allocations: 34.56 kB / 0.4885 GB, free: 416 kB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.635e-06/0.4825, allocations: 4 kB / 0.4885 GB, free: 412 kB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002078/0.4846, allocations: 0.6862 MB / 0.4892 GB, free: 15.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.4846, allocations: 51.41 kB / 0.4893 GB, free: 15.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.485, allocations: 295 kB / 0.4895 GB, free: 15.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.485, allocations: 33.64 kB / 0.4896 GB, free: 15.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.4852, allocations: 215.8 kB / 0.4898 GB, free: 15.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/0.4853, allocations: 55.2 kB / 0.4898 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.4853, allocations: 8 kB / 0.4898 GB, free: 15.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4854, allocations: 338.8 kB / 0.4902 GB, free: 14.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.4856, allocations: 79.95 kB / 0.4902 GB, free: 14.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.4859, allocations: 166.2 kB / 0.4904 GB, free: 14.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.4864, allocations: 250.1 kB / 0.4906 GB, free: 14.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4864, allocations: 0 / 0.4906 GB, free: 14.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009728/0.4874, allocations: 432.4 kB / 0.4911 GB, free: 13.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.4874, allocations: 8 kB / 0.4911 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4874, allocations: 4 kB / 0.4911 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004258/0.4879, allocations: 108.7 kB / 0.4912 GB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.488, allocations: 43.97 kB / 0.4912 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.4909, allocations: 1.982 MB / 0.4931 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.4911, allocations: 35.69 kB / 0.4932 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.4911, allocations: 12 kB / 0.4932 GB, free: 11.36 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.0001801/0.4913, allocations: 161.8 kB / 0.4933 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.4914, allocations: 23.72 kB / 0.4934 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.4914, allocations: 25.91 kB / 0.4934 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4914, allocations: 4 kB / 0.4934 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.4914, allocations: 0 / 0.4934 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4914, allocations: 0 / 0.4934 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.4927, allocations: 0.7449 MB / 0.4941 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4928, allocations: 0 / 0.4941 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.137e-05/0.4928, allocations: 15.98 kB / 0.4941 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003203/0.4932, allocations: 104.7 kB / 0.4942 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.4932, allocations: 11.98 kB / 0.4943 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/0.4958, allocations: 1.952 MB / 0.4962 GB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4958, allocations: 0 / 0.4962 GB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008591/0.4967, allocations: 426.9 kB / 0.4966 GB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.4968, allocations: 108.7 kB / 0.4967 GB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.4968, allocations: 4 kB / 0.4967 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.497, allocations: 31.92 kB / 0.4967 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.4971, allocations: 15.97 kB / 0.4967 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.4971, allocations: 4 kB / 0.4967 GB, free: 7.492 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002287/0.4973, allocations: 210 kB / 0.4969 GB, free: 7.289 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4973, allocations: 0 / 0.4969 GB, free: 7.289 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004739/0.4978, allocations: 91.75 kB / 0.497 GB, free: 7.199 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.0001564/0.498, allocations: 107 kB / 0.4971 GB, free: 7.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000745/0.4987, allocations: 346.7 kB / 0.4974 GB, free: 6.734 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4988, allocations: 0 / 0.4974 GB, free: 6.734 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.4991, allocations: 226.5 kB / 0.4977 GB, free: 6.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.4996, allocations: 41.31 kB / 0.4977 GB, free: 6.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.5008, allocations: 0.687 MB / 0.4984 GB, free: 5.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.5012, allocations: 0.7715 MB / 0.4991 GB, free: 4.949 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.5013, allocations: 22.28 kB / 0.4991 GB, free: 4.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.5014, allocations: 27.42 kB / 0.4992 GB, free: 4.902 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5014, allocations: 0 / 0.4992 GB, free: 4.902 MB / 378.7 MB Notification: Performance of Templates: time 0.007446/0.5088, allocations: 3.3 MB / 0.5024 GB, free: 1.637 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches