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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 72.08 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 143.7 kB / 24.97 MB, free: 8.812 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.018/1.018, allocations: 173.4 MB / 201.5 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.091e-05, allocations: 6.25 kB / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003729/0.00376, allocations: 3.18 MB / 271.3 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.005053, allocations: 0.7479 MB / 272 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.005231, allocations: 7.938 kB / 272 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.005396, allocations: 59.48 kB / 272.1 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.005595, allocations: 118.9 kB / 272.2 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.005898, allocations: 127.7 kB / 272.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.006317, allocations: 465.9 kB / 272.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.006522, allocations: 104.5 kB / 272.9 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.006877, allocations: 255.5 kB / 273.2 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.007116, allocations: 147.5 kB / 273.3 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.007183, allocations: 44 kB / 273.3 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.542e-05/0.007238, allocations: 44 kB / 273.4 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.007309, allocations: 83.69 kB / 273.5 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.007426, allocations: 139.7 kB / 273.6 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.007738, allocations: 290.9 kB / 273.9 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.007742, allocations: 0 / 273.9 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007743, allocations: 0 / 273.9 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.007749, allocations: 4 kB / 273.9 MB, free: 0.8867 MB / 250.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.0007729/0.008522, allocations: 0.6713 MB / 274.6 MB, free: 180 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.008564, allocations: 12.92 kB / 274.6 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.926e-05/0.008663, allocations: 68.66 kB / 274.6 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.008997, allocations: 259.7 kB / 274.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.009018, allocations: 21.03 kB / 274.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.009052, allocations: 32.38 kB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.009463, allocations: 357.1 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.009473, allocations: 4.125 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.009497, allocations: 12.38 kB / 275.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.009511, allocations: 11.94 kB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.009708, allocations: 123.9 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.01091, allocations: 1.12 MB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.01117, allocations: 135.2 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.716e-05/0.01124, allocations: 43.67 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.01126, allocations: 7.984 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.01128, allocations: 45.38 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.01128, allocations: 0 / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008183/0.0121, allocations: 362.7 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.01213, allocations: 51.41 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.01233, allocations: 304.2 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.01235, allocations: 29.7 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.01246, allocations: 266.9 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.01249, allocations: 55.52 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.01255, allocations: 63.25 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.01267, allocations: 0.5117 MB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.536e-05/0.01273, allocations: 27.98 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.01283, allocations: 148.2 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.013, allocations: 191 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01301, allocations: 4 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000375/0.01338, allocations: 273 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.0134, allocations: 4 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.0134, allocations: 4 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003317/0.01374, allocations: 99.67 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.01383, allocations: 39.92 kB / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.01532, allocations: 2.278 MB / 281.5 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.01543, allocations: 35.81 kB / 281.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.01544, allocations: 8 kB / 281.5 MB, free: 8.77 MB / 266.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.0001011/0.01554, allocations: 172.5 kB / 281.7 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.01558, allocations: 27.86 kB / 281.7 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.01561, allocations: 25.77 kB / 281.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01561, allocations: 4 kB / 281.7 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.01562, allocations: 0 / 281.7 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01562, allocations: 0 / 281.7 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.01619, allocations: 0.5516 MB / 282.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01619, allocations: 0 / 282.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.01623, allocations: 12 kB / 282.3 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002322/0.01646, allocations: 91.61 kB / 282.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.01647, allocations: 8 kB / 282.4 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.0178, allocations: 2.259 MB / 284.6 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.0178, allocations: 4.312 kB / 284.6 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.01811, allocations: 350.9 kB / 285 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.01814, allocations: 23.84 kB / 285 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.01815, allocations: 11.94 kB / 285 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/0.01824, allocations: 15.98 kB / 285 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.01828, allocations: 11.98 kB / 285.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.01829, allocations: 7.984 kB / 285.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.01841, allocations: 205.1 kB / 285.3 MB, free: 4.805 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01841, allocations: 7.938 kB / 285.3 MB, free: 4.797 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000318/0.01873, allocations: 95.78 kB / 285.4 MB, free: 4.703 MB / 266.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.0001075/0.01884, allocations: 95.23 kB / 285.5 MB, free: 4.602 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003947/0.01923, allocations: 337.6 kB / 285.8 MB, free: 4.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01923, allocations: 0 / 285.8 MB, free: 4.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.0194, allocations: 245.5 kB / 286 MB, free: 3.988 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.01967, allocations: 42.97 kB / 286.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009928/0.02066, allocations: 0.5063 MB / 286.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.637e-05/0.02073, allocations: 84.31 kB / 286.7 MB, free: 3.312 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.422e-05/0.02079, allocations: 22.3 kB / 286.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.02083, allocations: 20.48 kB / 286.7 MB, free: 3.27 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02083, allocations: 0 / 286.7 MB, free: 3.27 MB / 266.7 MB Notification: Performance of Templates: time 0.005516/0.02635, allocations: 3.283 MB / 290 MB, free: 28 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.982706075999886]