Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008677/0.008677, allocations: 106 kB / 21.98 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002242/0.002242, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 259 MB, free: 8.043 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.91 kB / 379.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2631, allocations: 53.37 MB / 433.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004992/0.2681, allocations: 3.242 MB / 436.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.2698, allocations: 0.822 MB / 437.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.27, allocations: 7.938 kB / 437.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.2702, allocations: 59.42 kB / 437.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.2705, allocations: 115 kB / 437.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.2709, allocations: 135.8 kB / 437.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005552/0.2714, allocations: 450.2 kB / 438 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.2717, allocations: 110.9 kB / 438.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/0.272, allocations: 175.4 kB / 438.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.2723, allocations: 183.2 kB / 438.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.899e-05/0.2723, allocations: 44 kB / 438.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2724, allocations: 44 kB / 438.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.2725, allocations: 91.64 kB / 438.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.2727, allocations: 199.1 kB / 438.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006312/0.2733, allocations: 0.5017 MB / 439.3 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2734, allocations: 0 / 439.3 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2734, allocations: 4 kB / 439.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2734, allocations: 0 / 439.4 MB, free: 0.7852 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.001192/0.2746, allocations: 0.6103 MB / 440 MB, free: 144 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2746, allocations: 8.031 kB / 440 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.2748, allocations: 44.7 kB / 440 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.2753, allocations: 257.8 kB / 440.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.2753, allocations: 21.03 kB / 440.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.2754, allocations: 32.38 kB / 440.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.2761, allocations: 353.4 kB / 440.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2761, allocations: 0 / 440.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.2762, allocations: 19.98 kB / 440.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2762, allocations: 8 kB / 440.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.2768, allocations: 270.4 kB / 441 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.2789, allocations: 1.214 MB / 442.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/0.2795, allocations: 206.7 kB / 442.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.2798, allocations: 96.7 kB / 442.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.2798, allocations: 0 / 442.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.2798, allocations: 38.48 kB / 442.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.2798, allocations: 0 / 442.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002025/0.2818, allocations: 0.5595 MB / 443.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.2819, allocations: 55.41 kB / 443.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.2823, allocations: 304.1 kB / 443.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.2823, allocations: 29.7 kB / 443.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.2825, allocations: 220.3 kB / 443.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.2825, allocations: 55.52 kB / 443.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/0.2826, allocations: 53.66 kB / 443.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.2828, allocations: 334.8 kB / 444.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.283, allocations: 79.95 kB / 444.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.2833, allocations: 170.1 kB / 444.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.2838, allocations: 238.1 kB / 444.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2838, allocations: 0 / 444.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009936/0.2848, allocations: 410 kB / 445 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.2848, allocations: 11.94 kB / 445 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2848, allocations: 4 kB / 445 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/0.2852, allocations: 104.8 kB / 445.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.2854, allocations: 39.92 kB / 445.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.2885, allocations: 2.076 MB / 447.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.2887, allocations: 39.72 kB / 447.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.2888, allocations: 12 kB / 447.2 MB, free: 8.469 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.0002136/0.289, allocations: 149.7 kB / 447.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.289, allocations: 27.92 kB / 447.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.2891, allocations: 29.84 kB / 447.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2891, allocations: 3.938 kB / 447.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.2891, allocations: 0 / 447.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2891, allocations: 7.922 kB / 447.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.2905, allocations: 0.6896 MB / 448.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.2905, allocations: 0 / 448.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.2906, allocations: 16 kB / 448.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003424/0.2909, allocations: 96.78 kB / 448.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.2909, allocations: 11.88 kB / 448.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/0.2939, allocations: 2.055 MB / 450.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2939, allocations: 3.938 kB / 450.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009358/0.2948, allocations: 411.2 kB / 450.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/0.2949, allocations: 39.72 kB / 450.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.2949, allocations: 0 / 450.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.2951, allocations: 23.98 kB / 450.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.2952, allocations: 11.97 kB / 450.8 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.2952, allocations: 11.94 kB / 450.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.2954, allocations: 215.1 kB / 451 MB, free: 4.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2954, allocations: 4 kB / 451 MB, free: 4.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005094/0.296, allocations: 87.89 kB / 451.1 MB, free: 4.402 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.000139/0.2961, allocations: 95.19 kB / 451.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007951/0.2969, allocations: 342.4 kB / 451.5 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2969, allocations: 0 / 451.5 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.2973, allocations: 219.1 kB / 451.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.2977, allocations: 44.91 kB / 451.8 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.299, allocations: 0.5845 MB / 452.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.2994, allocations: 0.7713 MB / 453.2 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.2995, allocations: 19.44 kB / 453.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2995, allocations: 0 / 453.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Templates: time 0.008159/0.3076, allocations: 4.77 MB / 458 MB, free: 13.47 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 7.369983275886625]