Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008093/0.0008093, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004163/0.004163, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8515/0.8515, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.372e-05, allocations: 16.89 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004055/0.004088, allocations: 2.976 MB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.005582, allocations: 0.7749 MB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.005788, allocations: 7.938 kB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.005974, allocations: 67.36 kB / 329.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.006217, allocations: 119 kB / 329.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.006584, allocations: 119.7 kB / 329.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.007055, allocations: 461.9 kB / 330.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.007307, allocations: 108.5 kB / 330.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003958/0.007703, allocations: 255.4 kB / 330.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.007915, allocations: 135.6 kB / 330.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.899e-05/0.007974, allocations: 44 kB / 330.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.003e-05/0.008064, allocations: 44 kB / 330.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.008125, allocations: 95.59 kB / 331 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.008258, allocations: 139.7 kB / 331.1 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005513/0.008809, allocations: 0.5218 MB / 331.7 MB, free: 9.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.008814, allocations: 0 / 331.7 MB, free: 9.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.008815, allocations: 0 / 331.7 MB, free: 9.469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.008826, allocations: 0 / 331.7 MB, free: 9.469 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009162/0.009742, allocations: 0.5869 MB / 332.2 MB, free: 8.848 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.00979, allocations: 11.98 kB / 332.3 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.009977, allocations: 56.64 kB / 332.3 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.01042, allocations: 257.1 kB / 332.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.01045, allocations: 25.03 kB / 332.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.01049, allocations: 36.31 kB / 332.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.01102, allocations: 405.4 kB / 333 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.01104, allocations: 192 / 333 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.01107, allocations: 8.375 kB / 333 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.01108, allocations: 11.94 kB / 333 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.01147, allocations: 250.5 kB / 333.3 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.01298, allocations: 1.02 MB / 334.3 MB, free: 6.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.01334, allocations: 181.7 kB / 334.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.01346, allocations: 76.77 kB / 334.6 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.01349, allocations: 4 kB / 334.6 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.01352, allocations: 34.56 kB / 334.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/0.01352, allocations: 4 kB / 334.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001087/0.0146, allocations: 421.4 kB / 335 MB, free: 5.941 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.01464, allocations: 59.34 kB / 335.1 MB, free: 5.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.0149, allocations: 273.8 kB / 335.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.01492, allocations: 25.7 kB / 335.4 MB, free: 5.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.01504, allocations: 224.2 kB / 335.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.01508, allocations: 63.47 kB / 335.6 MB, free: 5.277 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.01517, allocations: 57.64 kB / 335.7 MB, free: 5.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.01527, allocations: 334.8 kB / 336 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.01539, allocations: 67.97 kB / 336.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.01554, allocations: 141.4 kB / 336.2 MB, free: 4.641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.01581, allocations: 217.2 kB / 336.4 MB, free: 4.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.01581, allocations: 3.938 kB / 336.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005375/0.01635, allocations: 337.2 kB / 336.8 MB, free: 4.055 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.01637, allocations: 8 kB / 336.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.01638, allocations: 3.984 kB / 336.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/0.0167, allocations: 96.72 kB / 336.9 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.01682, allocations: 39.92 kB / 336.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.01896, allocations: 2.026 MB / 338.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.0191, allocations: 27.84 kB / 339 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.01912, allocations: 8 kB / 339 MB, free: 1.738 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (add.opAmp.satNeg,add.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.01927, allocations: 157.7 kB / 339.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.01932, allocations: 23.86 kB / 339.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.01936, allocations: 26.12 kB / 339.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01936, allocations: 3.984 kB / 339.2 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01936, allocations: 8 kB / 339.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.01937, allocations: 4 kB / 339.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007646/0.02013, allocations: 0.5653 MB / 339.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.02014, allocations: 0 / 339.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.748e-05/0.02019, allocations: 23.97 kB / 339.8 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002487/0.02044, allocations: 92.78 kB / 339.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.02045, allocations: 7.875 kB / 339.9 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.02232, allocations: 2.018 MB / 341.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02233, allocations: 0 / 341.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.02278, allocations: 355.7 kB / 342.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.02283, allocations: 27.84 kB / 342.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.02285, allocations: 3.938 kB / 342.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.02298, allocations: 23.92 kB / 342.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.02304, allocations: 11.97 kB / 342.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.02305, allocations: 8 kB / 342.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.02322, allocations: 201.1 kB / 342.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02322, allocations: 0 / 342.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004925/0.02371, allocations: 103.7 kB / 342.6 MB, free: 13.92 MB / 314.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: 2 (add.opAmp.satPos,add.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.02384, allocations: 95.25 kB / 342.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005234/0.02437, allocations: 318.9 kB / 343 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.02437, allocations: 0 / 343 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.02459, allocations: 222.5 kB / 343.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.02495, allocations: 40.48 kB / 343.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008612/0.02581, allocations: 0.54 MB / 343.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.02594, allocations: 168.8 kB / 344 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.02599, allocations: 20.5 kB / 344 MB, free: 12.44 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02599, allocations: 0 / 344 MB, free: 12.44 MB / 314.7 MB Notification: Performance of Templates: time 0.006059/0.03205, allocations: 4.91 MB / 348.9 MB, free: 7.535 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,vOut.v Variables in the result:time,vOut.v [Calling sys.exit(0), Time elapsed: 4.394617924466729]