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.0009501/0.0009501, allocations: 191.6 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 226.5 MB / 244.7 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000759/0.000759, allocations: 108.1 kB / 296.8 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000223/0.0002232, allocations: 8 kB / 356.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1891, allocations: 51.29 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002228/0.1914, allocations: 2.739 MB / 410.8 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000867/0.1923, allocations: 0.7571 MB / 411.5 MB, free: 24.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1924, allocations: 12.97 kB / 411.6 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.1925, allocations: 39.67 kB / 411.6 MB, free: 24.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.1927, allocations: 98.33 kB / 411.7 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.1929, allocations: 75.84 kB / 411.8 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.1932, allocations: 410 kB / 412.2 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.1934, allocations: 128.3 kB / 412.3 MB, free: 23.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1936, allocations: 138.7 kB / 412.4 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1937, allocations: 151.2 kB / 412.6 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.1938, allocations: 20 kB / 412.6 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.78e-05/0.1938, allocations: 24 kB / 412.6 MB, free: 23.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/0.1939, allocations: 59.77 kB / 412.7 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.194, allocations: 184.9 kB / 412.9 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.1942, allocations: 391.8 kB / 413.2 MB, free: 22.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1942, allocations: 3.938 kB / 413.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1943, allocations: 0 / 413.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1943, allocations: 2.562 kB / 413.2 MB, free: 22.46 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007545/0.195, allocations: 0.6121 MB / 413.9 MB, free: 21.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1951, allocations: 11.97 kB / 413.9 MB, free: 21.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.1952, allocations: 56.45 kB / 413.9 MB, free: 21.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.1955, allocations: 295.5 kB / 414.2 MB, free: 21.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1955, allocations: 25.03 kB / 414.2 MB, free: 21.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.1955, allocations: 28.38 kB / 414.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.1961, allocations: 357.4 kB / 414.6 MB, free: 21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1961, allocations: 0 / 414.6 MB, free: 21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.1961, allocations: 19.98 kB / 414.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1961, allocations: 8 kB / 414.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005054/0.1966, allocations: 274.4 kB / 414.9 MB, free: 20.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.1982, allocations: 1.28 MB / 416.2 MB, free: 19.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.1987, allocations: 303.7 kB / 416.5 MB, free: 19.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.1989, allocations: 96.81 kB / 416.6 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1989, allocations: 8 kB / 416.6 MB, free: 18.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.1989, allocations: 34.56 kB / 416.6 MB, free: 18.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.1989, allocations: 0 / 416.6 MB, free: 18.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001819/0.2007, allocations: 0.6979 MB / 417.3 MB, free: 18.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.2008, allocations: 51.41 kB / 417.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.201, allocations: 295 kB / 417.7 MB, free: 17.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.201, allocations: 29.7 kB / 417.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.2011, allocations: 211.8 kB / 417.9 MB, free: 17.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.2012, allocations: 59.14 kB / 418 MB, free: 17.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.2012, allocations: 4 kB / 418 MB, free: 17.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.2012, allocations: 338.8 kB / 418.3 MB, free: 17.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.2014, allocations: 79.95 kB / 418.4 MB, free: 17.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.2016, allocations: 165 kB / 418.5 MB, free: 16.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.202, allocations: 256.7 kB / 418.8 MB, free: 16.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.202, allocations: 0 / 418.8 MB, free: 16.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008459/0.2029, allocations: 425.9 kB / 419.2 MB, free: 16.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2029, allocations: 11.94 kB / 419.2 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2029, allocations: 0 / 419.2 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003762/0.2033, allocations: 108.8 kB / 419.3 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.2034, allocations: 43.92 kB / 419.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.2056, allocations: 1.991 MB / 421.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.2058, allocations: 39.67 kB / 421.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.2059, allocations: 11.94 kB / 421.4 MB, free: 13.82 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: 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.0001291/0.206, allocations: 157.7 kB / 421.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.206, allocations: 27.7 kB / 421.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.2061, allocations: 29.91 kB / 421.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2061, allocations: 8 kB / 421.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.2061, allocations: 0 / 421.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2061, allocations: 0 / 421.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2072, allocations: 0.7449 MB / 422.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2072, allocations: 3.984 kB / 422.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.678e-05/0.2073, allocations: 12 kB / 422.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002829/0.2076, allocations: 104.8 kB / 422.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2076, allocations: 0 / 422.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.2095, allocations: 1.991 MB / 424.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2095, allocations: 0 / 424.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007054/0.2102, allocations: 431.8 kB / 424.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.2103, allocations: 108.7 kB / 425 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.2103, allocations: 3.984 kB / 425 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.2105, allocations: 31.98 kB / 425 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.2106, allocations: 7.984 kB / 425 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.2106, allocations: 4 kB / 425 MB, free: 9.926 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.2108, allocations: 210 kB / 425.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2108, allocations: 0 / 425.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004167/0.2112, allocations: 95.69 kB / 425.3 MB, free: 9.629 MB / 298.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.0001113/0.2113, allocations: 107 kB / 425.4 MB, free: 9.512 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006076/0.2119, allocations: 346.5 kB / 425.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2119, allocations: 7.938 kB / 425.8 MB, free: 9.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.2122, allocations: 230.1 kB / 426 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.2126, allocations: 40.81 kB / 426.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000857/0.2135, allocations: 0.6969 MB / 426.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.2136, allocations: 0.7677 MB / 427.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.2137, allocations: 19.44 kB / 427.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2137, allocations: 0 / 427.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of Templates: time 0.004734/0.2184, allocations: 4.661 MB / 432.2 MB, free: 2.684 MB / 298.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/jenkins/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