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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0017/0.0017, allocations: 113.4 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001887/0.001887, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.52/1.52, allocations: 230.4 MB / 251.1 MB, free: 8.445 MB / 206.1 MB 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.001915/0.001915, allocations: 71.81 kB / 369 MB, free: 6.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2563, allocations: 53.31 MB / 422.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004718/0.261, allocations: 3.228 MB / 425.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.2626, allocations: 0.8179 MB / 426.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.2627, allocations: 8 kB / 426.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.2629, allocations: 59.42 kB / 426.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.2632, allocations: 115 kB / 426.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.2635, allocations: 135.8 kB / 426.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004932/0.264, allocations: 442.2 kB / 427.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.2642, allocations: 111.9 kB / 427.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002964/0.2645, allocations: 179.3 kB / 427.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.2648, allocations: 179.2 kB / 427.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.076e-05/0.2648, allocations: 44 kB / 427.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.034e-05/0.2649, allocations: 44 kB / 427.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.57e-05/0.265, allocations: 91.64 kB / 427.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.2652, allocations: 195.1 kB / 427.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.2658, allocations: 0.5016 MB / 428.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2658, allocations: 0 / 428.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2658, allocations: 4 kB / 428.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.2658, allocations: 0 / 428.4 MB, free: 1.699 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.001103/0.2669, allocations: 0.6778 MB / 429.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2669, allocations: 8.031 kB / 429.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.2671, allocations: 56.62 kB / 429.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.2675, allocations: 319.6 kB / 429.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.2675, allocations: 25.03 kB / 429.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.2676, allocations: 28.38 kB / 429.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006645/0.2683, allocations: 345.4 kB / 429.9 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2683, allocations: 7.938 kB / 429.9 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.2683, allocations: 12 kB / 429.9 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2683, allocations: 12 kB / 429.9 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006164/0.2689, allocations: 270.6 kB / 430.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.271, allocations: 1.261 MB / 431.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.2717, allocations: 283.7 kB / 431.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.2719, allocations: 88.81 kB / 431.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.272, allocations: 3.984 kB / 431.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.272, allocations: 38.5 kB / 431.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.272, allocations: 4 kB / 431.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002154/0.2741, allocations: 0.6318 MB / 432.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.2742, allocations: 51.41 kB / 432.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.2746, allocations: 306.9 kB / 432.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.2746, allocations: 25.7 kB / 432.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.2748, allocations: 220.3 kB / 433 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.2748, allocations: 59.52 kB / 433.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.2749, allocations: 49.66 kB / 433.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.2751, allocations: 338.8 kB / 433.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.2753, allocations: 79.89 kB / 433.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.2756, allocations: 166.2 kB / 433.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.276, allocations: 234.1 kB / 434 MB, free: 11.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2761, allocations: 7.938 kB / 434 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009674/0.277, allocations: 401.4 kB / 434.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.277, allocations: 16 kB / 434.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.277, allocations: 4 kB / 434.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004244/0.2775, allocations: 104.7 kB / 434.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2776, allocations: 35.98 kB / 434.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.2809, allocations: 2.182 MB / 436.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.2811, allocations: 43.83 kB / 436.7 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.2811, allocations: 12 kB / 436.7 MB, free: 8.855 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.0001717/0.2813, allocations: 149.8 kB / 436.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.2813, allocations: 23.86 kB / 436.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.2814, allocations: 29.91 kB / 436.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2814, allocations: 3.938 kB / 436.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2814, allocations: 0 / 436.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2814, allocations: 4 kB / 437 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.2827, allocations: 0.7178 MB / 437.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2827, allocations: 4 kB / 437.7 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-05/0.2828, allocations: 15.92 kB / 437.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003182/0.2831, allocations: 104.8 kB / 437.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.2831, allocations: 7.938 kB / 437.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.286, allocations: 2.152 MB / 440 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.286, allocations: 4 kB / 440 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.2869, allocations: 411.7 kB / 440.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.287, allocations: 112.8 kB / 440.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.287, allocations: 4 kB / 440.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.2872, allocations: 23.98 kB / 440.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.2873, allocations: 11.98 kB / 440.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.2873, allocations: 7.938 kB / 440.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.2876, allocations: 217.9 kB / 440.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2876, allocations: 3.938 kB / 440.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004591/0.288, allocations: 83.89 kB / 440.8 MB, free: 4.539 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.0001574/0.2882, allocations: 99.25 kB / 440.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007773/0.2889, allocations: 334.3 kB / 441.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.289, allocations: 4.688 kB / 441.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.2893, allocations: 230.5 kB / 441.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.2897, allocations: 49.17 kB / 441.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.2909, allocations: 0.554 MB / 442.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.2913, allocations: 0.7713 MB / 442.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.324e-05/0.2914, allocations: 22.3 kB / 442.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.2915, allocations: 23.44 kB / 442.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2915, allocations: 0 / 442.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of Templates: time 0.008299/0.2998, allocations: 3.768 MB / 446.7 MB, free: 14.62 MB / 366.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/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] Reference file matches