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.001853/0.001853, allocations: 111 kB / 21.18 MB, free: 0.668 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.002398/0.002398, allocations: 209 kB / 24.48 MB, free: 3.969 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.704/1.704, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.001597/0.001597, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.461/0.4626, allocations: 53.37 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005364/0.468, allocations: 2.969 MB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.4698, allocations: 0.7829 MB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.4701, allocations: 4 kB / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.4703, allocations: 67.36 kB / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.4706, allocations: 107.1 kB / 436.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.471, allocations: 139.8 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000551/0.4715, allocations: 446.2 kB / 436.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.4718, allocations: 115.3 kB / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.4722, allocations: 179.3 kB / 437.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.4724, allocations: 179.2 kB / 437.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-05/0.4725, allocations: 47.94 kB / 437.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.4726, allocations: 44 kB / 437.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.792e-05/0.4727, allocations: 83.75 kB / 437.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.4729, allocations: 159.3 kB / 437.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006724/0.4735, allocations: 0.5173 MB / 438.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4735, allocations: 0 / 438.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4735, allocations: 0 / 438.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.4736, allocations: 0 / 438.2 MB, free: 0.9023 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.001266/0.4748, allocations: 0.6025 MB / 438.8 MB, free: 272 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.4749, allocations: 12.03 kB / 438.8 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.4751, allocations: 48.69 kB / 438.8 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.4757, allocations: 261.9 kB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.4757, allocations: 25.03 kB / 439.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.596e-05/0.4758, allocations: 28.38 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008309/0.4766, allocations: 434.4 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.4766, allocations: 0 / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/0.4767, allocations: 19.98 kB / 439.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.4767, allocations: 4 kB / 439.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006327/0.4773, allocations: 270.5 kB / 439.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.4794, allocations: 1.067 MB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/0.48, allocations: 210.7 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.4802, allocations: 88.75 kB / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.4803, allocations: 0 / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.4803, allocations: 38.55 kB / 441.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.4803, allocations: 0 / 441.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002241/0.4825, allocations: 0.5526 MB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.4826, allocations: 67.33 kB / 441.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.483, allocations: 265.8 kB / 442.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.483, allocations: 37.58 kB / 442.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.4832, allocations: 224.1 kB / 442.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.4833, allocations: 59.48 kB / 442.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.4834, allocations: 45.7 kB / 442.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4835, allocations: 330.8 kB / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.4838, allocations: 79.95 kB / 442.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.484, allocations: 162.3 kB / 443 MB, free: 11.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.4845, allocations: 252.9 kB / 443.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4845, allocations: 0 / 443.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009905/0.4855, allocations: 401.9 kB / 443.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.4856, allocations: 8 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4856, allocations: 0 / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004775/0.486, allocations: 116.8 kB / 443.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4862, allocations: 39.92 kB / 443.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/0.4901, allocations: 2.013 MB / 445.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.4905, allocations: 43.7 kB / 445.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.4905, allocations: 19.98 kB / 445.9 MB, free: 8.742 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.0003228/0.4908, allocations: 145.8 kB / 446.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.4909, allocations: 27.84 kB / 446.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.747e-05/0.491, allocations: 29.83 kB / 446.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.491, allocations: 4 kB / 446.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.491, allocations: 0 / 446.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.491, allocations: 3.938 kB / 446.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.4925, allocations: 0.6104 MB / 446.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4926, allocations: 0 / 446.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.4926, allocations: 15.94 kB / 446.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/0.4931, allocations: 104.8 kB / 446.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.4931, allocations: 0 / 446.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003372/0.4965, allocations: 2.012 MB / 448.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4965, allocations: 0 / 448.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009216/0.4974, allocations: 404.4 kB / 449.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.4975, allocations: 27.84 kB / 449.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.4975, allocations: 4 kB / 449.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.4977, allocations: 27.92 kB / 449.3 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.4978, allocations: 19.98 kB / 449.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.4978, allocations: 4 kB / 449.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.498, allocations: 189.2 kB / 449.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.498, allocations: 0 / 449.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005895/0.4986, allocations: 95.78 kB / 449.6 MB, free: 4.863 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.0001876/0.4988, allocations: 103.2 kB / 449.7 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000942/0.4998, allocations: 334.3 kB / 450 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4998, allocations: 0.6875 kB / 450 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.5002, allocations: 225.5 kB / 450.3 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.5007, allocations: 40.42 kB / 450.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.502, allocations: 0.5505 MB / 450.9 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.5022, allocations: 164.8 kB / 451 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.612e-05/0.5023, allocations: 26.5 kB / 451 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.5024, allocations: 19.44 kB / 451.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5024, allocations: 0 / 451.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of Templates: time 0.008793/0.5112, allocations: 3.624 MB / 454.7 MB, free: 15.76 MB / 366.1 MB " [Timeout remaining time 659] 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 cvode -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: 5.382379362999927]