Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002288/0.002288, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 47.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3241, allocations: 53.37 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004902/0.329, allocations: 2.975 MB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3304, allocations: 0.7752 MB / 436.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.3306, allocations: 8 kB / 436.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.3308, allocations: 59.42 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.331, allocations: 115 kB / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.3314, allocations: 135.7 kB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000509/0.3319, allocations: 454.1 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.3321, allocations: 115.3 kB / 437 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.3325, allocations: 179.4 kB / 437.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.3327, allocations: 183.2 kB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.3328, allocations: 40 kB / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.87e-05/0.3329, allocations: 55.92 kB / 437.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.237e-05/0.3329, allocations: 83.75 kB / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.3331, allocations: 159.3 kB / 437.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005908/0.3337, allocations: 0.5056 MB / 438.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3337, allocations: 0 / 438.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3337, allocations: 0 / 438.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3337, allocations: 0 / 438.2 MB, free: 0.875 MB / 334.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.001158/0.3349, allocations: 0.6025 MB / 438.8 MB, free: 244 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3349, allocations: 11.97 kB / 438.8 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.3351, allocations: 56.69 kB / 438.8 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.3356, allocations: 254 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.3356, allocations: 21.03 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.3357, allocations: 32.38 kB / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007441/0.3364, allocations: 430.4 kB / 439.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3364, allocations: 4 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.3365, allocations: 16 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.3365, allocations: 8 kB / 439.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/0.3371, allocations: 262.5 kB / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.3391, allocations: 1.078 MB / 440.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.3397, allocations: 202.7 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.3399, allocations: 96.75 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.34, allocations: 0 / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.34, allocations: 34.56 kB / 441.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.34, allocations: 0 / 441.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002188/0.3422, allocations: 0.5564 MB / 441.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3422, allocations: 55.41 kB / 441.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.3425, allocations: 273.8 kB / 442.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.3426, allocations: 29.7 kB / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.3427, allocations: 228.1 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.3428, allocations: 59.48 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.3428, allocations: 53.64 kB / 442.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.343, allocations: 330.8 kB / 442.8 MB, free: 12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.3432, allocations: 75.97 kB / 442.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.3435, allocations: 162.2 kB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.344, allocations: 250.1 kB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.344, allocations: 4 kB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001003/0.345, allocations: 400.4 kB / 443.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.345, allocations: 8 kB / 443.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.345, allocations: 4.062 kB / 443.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000459/0.3455, allocations: 108.7 kB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.3456, allocations: 43.91 kB / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.3488, allocations: 2.016 MB / 445.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.349, allocations: 43.78 kB / 445.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.349, allocations: 11.98 kB / 445.9 MB, free: 8.719 MB / 350.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.0001693/0.3492, allocations: 153.7 kB / 446.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.3493, allocations: 23.86 kB / 446.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.3493, allocations: 25.77 kB / 446.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3493, allocations: 4 kB / 446.1 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.3493, allocations: 0 / 446.1 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3493, allocations: 3.938 kB / 446.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.3506, allocations: 0.6193 MB / 446.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3506, allocations: 0 / 446.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/0.3507, allocations: 15.94 kB / 446.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003653/0.3511, allocations: 100.8 kB / 446.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3511, allocations: 0 / 446.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002909/0.354, allocations: 2.021 MB / 448.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.354, allocations: 0 / 448.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009319/0.3549, allocations: 404.4 kB / 449.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.355, allocations: 27.84 kB / 449.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.355, allocations: 3.938 kB / 449.3 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.3552, allocations: 23.98 kB / 449.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.3553, allocations: 19.91 kB / 449.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3553, allocations: 12 kB / 449.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002041/0.3555, allocations: 185.2 kB / 449.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3555, allocations: 0 / 449.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005055/0.356, allocations: 95.78 kB / 449.6 MB, free: 4.828 MB / 350.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.0001399/0.3561, allocations: 99.23 kB / 449.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007656/0.3569, allocations: 338.5 kB / 450.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3569, allocations: 0 / 450.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.3573, allocations: 219.1 kB / 450.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3577, allocations: 43.23 kB / 450.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.3589, allocations: 0.5556 MB / 450.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.359, allocations: 164.8 kB / 451 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.03e-05/0.3591, allocations: 14.3 kB / 451 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.3591, allocations: 27.42 kB / 451.1 MB, free: 3.309 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3591, allocations: 0 / 451.1 MB, free: 3.309 MB / 350.1 MB Notification: Performance of Templates: time 0.007962/0.3671, allocations: 3.623 MB / 454.7 MB, free: 15.72 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.548820891010109]