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.001438/0.001438, allocations: 104.2 kB / 17.06 MB, free: 5.992 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.001405/0.001406, allocations: 191 kB / 18 MB, free: 5.078 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.552/1.552, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 47.92 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4578, allocations: 49.44 MB / 400.8 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004822/0.4627, allocations: 3.178 MB / 403.9 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.4642, allocations: 0.7673 MB / 404.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.4644, allocations: 8 kB / 404.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.4646, allocations: 51.44 kB / 404.8 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.4649, allocations: 115 kB / 404.9 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.4653, allocations: 123.8 kB / 405 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005125/0.4658, allocations: 450.2 kB / 405.4 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.4661, allocations: 151.9 kB / 405.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.4664, allocations: 167.4 kB / 405.7 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.4666, allocations: 179.2 kB / 405.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.343e-05/0.4667, allocations: 44 kB / 406 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.111e-05/0.4667, allocations: 44 kB / 406 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.47e-05/0.4668, allocations: 83.75 kB / 406.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.467, allocations: 195.1 kB / 406.3 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00056/0.4676, allocations: 0.5072 MB / 406.8 MB, free: 2.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4676, allocations: 4 kB / 406.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4676, allocations: 0 / 406.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.4676, allocations: 0 / 406.8 MB, free: 2.824 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.001279/0.4689, allocations: 0.6548 MB / 407.4 MB, free: 2.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.469, allocations: 12.03 kB / 407.5 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.785e-05/0.4691, allocations: 36.47 kB / 407.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.4697, allocations: 303.6 kB / 407.8 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.4697, allocations: 21.03 kB / 407.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.529e-05/0.4698, allocations: 32.38 kB / 407.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007548/0.4705, allocations: 365.3 kB / 408.2 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.4706, allocations: 0 / 408.2 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.4706, allocations: 8 kB / 408.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.4706, allocations: 8 kB / 408.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.4712, allocations: 274.5 kB / 408.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.4734, allocations: 1.26 MB / 409.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.4741, allocations: 295.7 kB / 410 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.4743, allocations: 104.8 kB / 410.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.4744, allocations: 0 / 410.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.4744, allocations: 34.56 kB / 410.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.4744, allocations: 0 / 410.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002177/0.4766, allocations: 0.6472 MB / 410.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.4766, allocations: 55.41 kB / 410.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/0.4771, allocations: 298.9 kB / 411.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.4771, allocations: 29.7 kB / 411.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.4773, allocations: 215.8 kB / 411.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.4774, allocations: 51.3 kB / 411.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.4776, allocations: 49.61 kB / 411.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.4778, allocations: 334.8 kB / 411.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.478, allocations: 79.95 kB / 411.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.4783, allocations: 154.3 kB / 412.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.4788, allocations: 256.5 kB / 412.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4788, allocations: 0 / 412.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001036/0.4798, allocations: 409.9 kB / 412.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.4799, allocations: 11.94 kB / 412.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4799, allocations: 80 / 412.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004979/0.4804, allocations: 108.8 kB / 412.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.4806, allocations: 39.92 kB / 412.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.484, allocations: 2.171 MB / 415 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.4844, allocations: 35.67 kB / 415.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.4845, allocations: 19.94 kB / 415.1 MB, free: 10.01 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.0002463/0.4848, allocations: 153.8 kB / 415.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.4849, allocations: 27.7 kB / 415.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.598e-05/0.4849, allocations: 21.92 kB / 415.3 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.4849, allocations: 11.92 kB / 415.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.485, allocations: 0 / 415.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.485, allocations: 0 / 415.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.4864, allocations: 0.7249 MB / 416 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4864, allocations: 4 kB / 416 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-05/0.4865, allocations: 19.98 kB / 416 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003789/0.4869, allocations: 92.8 kB / 416.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.4869, allocations: 15.92 kB / 416.2 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/0.4899, allocations: 2.151 MB / 418.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4899, allocations: 3.938 kB / 418.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.4908, allocations: 416.3 kB / 418.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.491, allocations: 100.8 kB / 418.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.491, allocations: 4 kB / 418.8 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.4912, allocations: 19.98 kB / 418.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.4913, allocations: 11.98 kB / 418.8 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.4913, allocations: 7.938 kB / 418.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.4916, allocations: 217.9 kB / 419.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4916, allocations: 0 / 419.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005386/0.4921, allocations: 95.69 kB / 419.2 MB, free: 5.684 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.0001876/0.4923, allocations: 99.19 kB / 419.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008668/0.4932, allocations: 342.5 kB / 419.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.4932, allocations: 0 / 419.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004042/0.4936, allocations: 231.1 kB / 419.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.4941, allocations: 44.81 kB / 419.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.4954, allocations: 0.5543 MB / 420.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.4958, allocations: 0.7713 MB / 421.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.4959, allocations: 30.27 kB / 421.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.496, allocations: 19.44 kB / 421.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.496, allocations: 0 / 421.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of Templates: time 0.009113/0.5051, allocations: 3.668 MB / 424.9 MB, free: 15.86 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