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.002191/0.002191, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009766/0.0009765, allocations: 104.8 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009251/0.0009252, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1947, allocations: 50.46 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003142/0.1979, allocations: 3.242 MB / 410.3 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009353/0.1988, allocations: 0.7892 MB / 411.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.199, allocations: 11.94 kB / 411.1 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.1991, allocations: 43.67 kB / 411.2 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.1993, allocations: 98.05 kB / 411.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.1995, allocations: 107.8 kB / 411.4 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.1998, allocations: 426.2 kB / 411.8 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.2, allocations: 132.4 kB / 411.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.2002, allocations: 155.4 kB / 412.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.2004, allocations: 167.2 kB / 412.2 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.2004, allocations: 32 kB / 412.2 MB, free: 22.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.501e-05/0.2005, allocations: 24 kB / 412.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.2005, allocations: 67.75 kB / 412.3 MB, free: 22.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.2007, allocations: 183 kB / 412.5 MB, free: 22.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.201, allocations: 491.8 kB / 413 MB, free: 21.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.201, allocations: 0 / 413 MB, free: 21.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.201, allocations: 0 / 413 MB, free: 21.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.201, allocations: 4 kB / 413 MB, free: 21.84 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.0008719/0.2019, allocations: 0.6549 MB / 413.7 MB, free: 21.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.2019, allocations: 8.031 kB / 413.7 MB, free: 21.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.2021, allocations: 52.45 kB / 413.7 MB, free: 21.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.2023, allocations: 299.6 kB / 414 MB, free: 20.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.2024, allocations: 25.03 kB / 414 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.2024, allocations: 32.38 kB / 414.1 MB, free: 20.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.2029, allocations: 349.3 kB / 414.4 MB, free: 20.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2029, allocations: 0 / 414.4 MB, free: 20.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.2029, allocations: 16 kB / 414.4 MB, free: 20.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.203, allocations: 8 kB / 414.4 MB, free: 20.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.2034, allocations: 266.5 kB / 414.7 MB, free: 20.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.2049, allocations: 1.272 MB / 416 MB, free: 18.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.2054, allocations: 299.7 kB / 416.3 MB, free: 18.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.2056, allocations: 96.81 kB / 416.3 MB, free: 18.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.2057, allocations: 0 / 416.3 MB, free: 18.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.2057, allocations: 38.56 kB / 416.4 MB, free: 18.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/0.2057, allocations: 7.875 kB / 416.4 MB, free: 18.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001828/0.2075, allocations: 0.6459 MB / 417 MB, free: 17.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.2076, allocations: 55.41 kB / 417.1 MB, free: 17.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.2078, allocations: 291 kB / 417.4 MB, free: 17.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2078, allocations: 25.7 kB / 417.4 MB, free: 17.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.2079, allocations: 219.8 kB / 417.6 MB, free: 16.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.208, allocations: 55.2 kB / 417.7 MB, free: 16.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.208, allocations: 49.7 kB / 417.7 MB, free: 16.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.2081, allocations: 338.8 kB / 418 MB, free: 16.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.2083, allocations: 71.95 kB / 418.1 MB, free: 16.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.2085, allocations: 162.2 kB / 418.3 MB, free: 16.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.2089, allocations: 250.1 kB / 418.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2089, allocations: 0 / 418.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008191/0.2097, allocations: 405.9 kB / 418.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2098, allocations: 11.06 kB / 418.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2098, allocations: 7.984 kB / 418.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003676/0.2101, allocations: 100.9 kB / 419 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2103, allocations: 43.91 kB / 419.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.2126, allocations: 1.959 MB / 421 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.2128, allocations: 39.67 kB / 421.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.2128, allocations: 11.94 kB / 421.1 MB, free: 13.25 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.2129, allocations: 163.8 kB / 421.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.213, allocations: 27.62 kB / 421.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.213, allocations: 29.91 kB / 421.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.213, allocations: 0 / 421.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.213, allocations: 0 / 421.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.213, allocations: 3.984 kB / 421.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.2141, allocations: 0.7293 MB / 422 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2141, allocations: 0 / 422 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/0.2141, allocations: 11.98 kB / 422 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/0.2144, allocations: 96.8 kB / 422.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.2145, allocations: 11.92 kB / 422.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.2164, allocations: 1.956 MB / 424.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2164, allocations: 3.938 kB / 424.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009899/0.2174, allocations: 1.067 MB / 425.2 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.2175, allocations: 100.8 kB / 425.3 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.2175, allocations: 4 kB / 425.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.2177, allocations: 19.98 kB / 425.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.2177, allocations: 19.97 kB / 425.3 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2178, allocations: 0 / 425.3 MB, free: 8.734 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.2179, allocations: 214 kB / 425.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2179, allocations: 0 / 425.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004935/0.2184, allocations: 99.62 kB / 425.6 MB, free: 8.43 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001098/0.2185, allocations: 99.19 kB / 425.7 MB, free: 8.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000572/0.2191, allocations: 342.4 kB / 426.1 MB, free: 7.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2191, allocations: 0 / 426.1 MB, free: 7.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.2194, allocations: 223.3 kB / 426.3 MB, free: 7.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.2198, allocations: 36.86 kB / 426.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008858/0.2207, allocations: 0.8262 MB / 427.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.2208, allocations: 0.7677 MB / 427.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.022e-05/0.2209, allocations: 26.28 kB / 427.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.2209, allocations: 19.44 kB / 428 MB, free: 6.004 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.221, allocations: 0 / 428 MB, free: 6.004 MB / 298.7 MB Notification: Performance of Templates: time 0.005247/0.2262, allocations: 3.527 MB / 431.5 MB, free: 2.504 MB / 298.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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