Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002308/0.002308, allocations: 108.3 kB / 17.06 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002492/0.002492, allocations: 200 kB / 18.01 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 43.92 kB / 351.3 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3823, allocations: 49.44 MB / 400.8 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004567/0.3869, allocations: 3.19 MB / 403.9 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.3885, allocations: 0.7673 MB / 404.7 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.3887, allocations: 4 kB / 404.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.3889, allocations: 55.44 kB / 404.8 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.3892, allocations: 111 kB / 404.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.3895, allocations: 119.8 kB / 405 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005321/0.3901, allocations: 446.2 kB / 405.4 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.3904, allocations: 155.9 kB / 405.6 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.3907, allocations: 167.4 kB / 405.7 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.3909, allocations: 179.2 kB / 405.9 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.391, allocations: 44 kB / 406 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.017e-05/0.3911, allocations: 44 kB / 406 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.3912, allocations: 83.75 kB / 406.1 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.3914, allocations: 199 kB / 406.3 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005598/0.3919, allocations: 0.5057 MB / 406.8 MB, free: 2.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3919, allocations: 0 / 406.8 MB, free: 2.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.392, allocations: 4 kB / 406.8 MB, free: 2.773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.392, allocations: 0 / 406.8 MB, free: 2.773 MB / 318.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.001142/0.3931, allocations: 0.6623 MB / 407.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3932, allocations: 12.03 kB / 407.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.911e-05/0.3933, allocations: 40.7 kB / 407.5 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.3937, allocations: 303.7 kB / 407.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.3938, allocations: 21.03 kB / 407.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.3938, allocations: 32.38 kB / 407.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.3945, allocations: 357.3 kB / 408.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3945, allocations: 3.984 kB / 408.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.3946, allocations: 19.98 kB / 408.2 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.3946, allocations: 8 kB / 408.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.3952, allocations: 262.5 kB / 408.5 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.3973, allocations: 1.268 MB / 409.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006543/0.398, allocations: 295.7 kB / 410 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.3983, allocations: 96.81 kB / 410.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.3983, allocations: 4 kB / 410.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3984, allocations: 30.56 kB / 410.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.3984, allocations: 0 / 410.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002239/0.4006, allocations: 0.6512 MB / 410.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.4007, allocations: 55.41 kB / 410.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.401, allocations: 291 kB / 411.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.4011, allocations: 33.7 kB / 411.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.4012, allocations: 224.2 kB / 411.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.4013, allocations: 51.58 kB / 411.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/0.4014, allocations: 49.66 kB / 411.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4015, allocations: 338.8 kB / 411.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.4018, allocations: 75.95 kB / 411.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.402, allocations: 166.2 kB / 412.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.4025, allocations: 242.1 kB / 412.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4026, allocations: 0 / 412.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001012/0.4036, allocations: 412.4 kB / 412.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.4036, allocations: 11.94 kB / 412.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.4036, allocations: 3.938 kB / 412.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005081/0.4042, allocations: 104.8 kB / 412.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.4043, allocations: 39.92 kB / 412.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/0.4076, allocations: 2.189 MB / 415.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.4078, allocations: 35.83 kB / 415.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.4079, allocations: 8 kB / 415.1 MB, free: 9.934 MB / 334.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.0002186/0.4081, allocations: 153.7 kB / 415.3 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.4082, allocations: 31.88 kB / 415.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.413e-05/0.4083, allocations: 29.91 kB / 415.3 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4083, allocations: 3.938 kB / 415.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4083, allocations: 0 / 415.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.4083, allocations: 3.984 kB / 415.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.4096, allocations: 0.7217 MB / 416 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4096, allocations: 0 / 416 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.4097, allocations: 15.98 kB / 416.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000327/0.41, allocations: 96.8 kB / 416.2 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.41, allocations: 11.92 kB / 416.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/0.4128, allocations: 2.147 MB / 418.3 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4128, allocations: 3.938 kB / 418.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008584/0.4137, allocations: 423.6 kB / 418.7 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/0.4138, allocations: 104.9 kB / 418.8 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.4138, allocations: 8 kB / 418.8 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.414, allocations: 15.98 kB / 418.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.4141, allocations: 15.98 kB / 418.9 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.4141, allocations: 7.938 kB / 418.9 MB, free: 5.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.4143, allocations: 206 kB / 419.1 MB, free: 5.707 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4143, allocations: 4 kB / 419.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005029/0.4149, allocations: 91.83 kB / 419.2 MB, free: 5.613 MB / 334.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.000153/0.415, allocations: 111.2 kB / 419.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000779/0.4158, allocations: 342.4 kB / 419.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4158, allocations: 0 / 419.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.4162, allocations: 234.5 kB / 419.9 MB, free: 4.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.4166, allocations: 45.66 kB / 419.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.4177, allocations: 0.5507 MB / 420.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.4181, allocations: 0.7713 MB / 421.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.579e-05/0.4182, allocations: 30.27 kB / 421.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.4183, allocations: 19.44 kB / 421.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4183, allocations: 0 / 421.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of Templates: time 0.007481/0.4258, allocations: 3.682 MB / 424.9 MB, free: 15.77 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches