Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 108.3 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.198/2.198, allocations: 222.9 MB / 241.8 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 51.17 kB / 300.6 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1581, allocations: 49.44 MB / 350.1 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.007789/0.1659, allocations: 3.222 MB / 353.3 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.1684, allocations: 0.7596 MB / 354 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005538/0.169, allocations: 4 kB / 354.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.1695, allocations: 43.69 kB / 354.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006097/0.1702, allocations: 99.23 kB / 354.2 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.1707, allocations: 103.9 kB / 354.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008205/0.1716, allocations: 422.2 kB / 354.7 MB, free: 188 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004357/0.172, allocations: 136.4 kB / 354.8 MB, free: 44 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004158/0.1724, allocations: 139.4 kB / 355 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.1729, allocations: 171.2 kB / 355.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.173, allocations: 24 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1731, allocations: 24 kB / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1732, allocations: 75.67 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.1735, allocations: 183.1 kB / 355.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.1741, allocations: 399.2 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.1741, allocations: 3.938 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1742, allocations: 3.938 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.1742, allocations: 0 / 355.8 MB, free: 15.04 MB / 302.1 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.001891/0.1761, allocations: 0.6627 MB / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.1762, allocations: 8.031 kB / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.1763, allocations: 40.47 kB / 356.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/0.177, allocations: 307.5 kB / 356.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.177, allocations: 21.03 kB / 356.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.1771, allocations: 32.38 kB / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.1782, allocations: 353.4 kB / 357.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1782, allocations: 0 / 357.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.1783, allocations: 12 kB / 357.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.1783, allocations: 8 kB / 357.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009725/0.1793, allocations: 270.4 kB / 357.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003241/0.1826, allocations: 1.26 MB / 358.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009182/0.1835, allocations: 295.8 kB / 359.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.1839, allocations: 92.81 kB / 359.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.1839, allocations: 4 kB / 359.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.184, allocations: 34.5 kB / 359.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.775e-06/0.184, allocations: 0 / 359.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.003267/0.1873, allocations: 0.6432 MB / 359.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.1873, allocations: 59.41 kB / 359.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.1879, allocations: 291 kB / 360.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.188, allocations: 29.7 kB / 360.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.1882, allocations: 219.7 kB / 360.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.1883, allocations: 55.19 kB / 360.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.1885, allocations: 45.7 kB / 360.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1887, allocations: 338.8 kB / 360.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.1891, allocations: 75.97 kB / 360.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.1895, allocations: 162.2 kB / 361.1 MB, free: 9.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000706/0.1902, allocations: 249 kB / 361.3 MB, free: 9.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1902, allocations: 0 / 361.3 MB, free: 9.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001513/0.1917, allocations: 406 kB / 361.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.1918, allocations: 11.94 kB / 361.7 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.1918, allocations: 0 / 361.7 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006421/0.1925, allocations: 104.8 kB / 361.9 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.1927, allocations: 43.91 kB / 361.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/0.1971, allocations: 1.97 MB / 363.9 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.1975, allocations: 43.61 kB / 363.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.1976, allocations: 11.94 kB / 363.9 MB, free: 6.457 MB / 302.1 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.0003023/0.1979, allocations: 145.8 kB / 364.1 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.198, allocations: 31.61 kB / 364.1 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.87e-05/0.1981, allocations: 29.92 kB / 364.1 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.1982, allocations: 3.984 kB / 364.1 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1982, allocations: 4 kB / 364.1 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1982, allocations: 0 / 364.1 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.2003, allocations: 0.7176 MB / 364.8 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2004, allocations: 0 / 364.8 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.2005, allocations: 19.98 kB / 364.9 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000543/0.201, allocations: 96.8 kB / 365 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.2011, allocations: 3.984 kB / 365 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004162/0.2053, allocations: 1.948 MB / 366.9 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.2053, allocations: 8 kB / 366.9 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.2066, allocations: 411.3 kB / 367.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.2068, allocations: 112.6 kB / 367.4 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.2069, allocations: 4 kB / 367.4 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.2073, allocations: 23.98 kB / 367.5 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.2074, allocations: 15.97 kB / 367.5 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.2074, allocations: 3.938 kB / 367.5 MB, free: 2.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000382/0.2078, allocations: 214 kB / 367.7 MB, free: 2.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2078, allocations: 0 / 367.7 MB, free: 2.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009525/0.2088, allocations: 83.84 kB / 367.8 MB, free: 2.363 MB / 302.1 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.0002312/0.209, allocations: 111.2 kB / 367.9 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.2102, allocations: 342.9 kB / 368.2 MB, free: 1.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2102, allocations: 128 / 368.2 MB, free: 1.895 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005776/0.2108, allocations: 230.5 kB / 368.4 MB, free: 1.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.2116, allocations: 47.12 kB / 368.5 MB, free: 1.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.2136, allocations: 0.7004 MB / 369.2 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.2143, allocations: 0.7638 MB / 369.9 MB, free: 92 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.2144, allocations: 27.42 kB / 370 MB, free: 64 kB / 302.1 MB Notification: Performance of SimCode: time 6.02e-07/0.2144, allocations: 0 / 370 MB, free: 64 kB / 302.1 MB Notification: Performance of Templates: time 0.2806/0.4951, allocations: 4.675 MB / 374.7 MB, free: 24.61 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches