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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001065, allocations: 102.4 kB / 291.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 31.95 kB / 350 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.397, allocations: 49.44 MB / 399.5 MB, free: 33.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004965/0.402, allocations: 3.219 MB / 402.7 MB, free: 30.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.4039, allocations: 0.7469 MB / 403.4 MB, free: 29.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.4043, allocations: 8 kB / 403.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.4045, allocations: 43.62 kB / 403.5 MB, free: 29.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.4047, allocations: 91.3 kB / 403.6 MB, free: 29.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.405, allocations: 107.9 kB / 403.7 MB, free: 29.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004427/0.4055, allocations: 422.2 kB / 404.1 MB, free: 28.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.4058, allocations: 136.4 kB / 404.2 MB, free: 28.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.406, allocations: 147.4 kB / 404.4 MB, free: 28.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.4062, allocations: 167.2 kB / 404.5 MB, free: 28.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.775e-05/0.4062, allocations: 24 kB / 404.6 MB, free: 28.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.311e-05/0.4063, allocations: 24 kB / 404.6 MB, free: 28.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.4064, allocations: 67.69 kB / 404.7 MB, free: 28.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.4065, allocations: 187 kB / 404.8 MB, free: 27.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.4068, allocations: 483.9 kB / 405.3 MB, free: 27.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4069, allocations: 7.938 kB / 405.3 MB, free: 27.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4069, allocations: 0 / 405.3 MB, free: 27.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.4069, allocations: 0 / 405.3 MB, free: 27.46 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001036/0.4079, allocations: 0.6627 MB / 406 MB, free: 26.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.408, allocations: 12.03 kB / 406 MB, free: 26.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.917e-05/0.4081, allocations: 44.47 kB / 406 MB, free: 26.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.4084, allocations: 299.6 kB / 406.3 MB, free: 26.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.4084, allocations: 21.03 kB / 406.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.4085, allocations: 28.38 kB / 406.4 MB, free: 26.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/0.409, allocations: 357.3 kB / 406.7 MB, free: 25.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4091, allocations: 0 / 406.7 MB, free: 25.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.4091, allocations: 16 kB / 406.7 MB, free: 25.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.4091, allocations: 8 kB / 406.8 MB, free: 25.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005406/0.4097, allocations: 266.5 kB / 407 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.4114, allocations: 1.26 MB / 408.3 MB, free: 24.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/0.4119, allocations: 303.6 kB / 408.6 MB, free: 24.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.4121, allocations: 92.81 kB / 408.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.4122, allocations: 11.98 kB / 408.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.4122, allocations: 34.56 kB / 408.7 MB, free: 23.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.4122, allocations: 0 / 408.7 MB, free: 23.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002048/0.4143, allocations: 0.6429 MB / 409.3 MB, free: 23.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.4143, allocations: 51.41 kB / 409.4 MB, free: 23.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.4146, allocations: 295 kB / 409.7 MB, free: 22.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.4146, allocations: 29.7 kB / 409.7 MB, free: 22.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4148, allocations: 215.8 kB / 409.9 MB, free: 22.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.4148, allocations: 59.19 kB / 410 MB, free: 22.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.176e-05/0.4149, allocations: 53.7 kB / 410 MB, free: 22.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.415, allocations: 334.8 kB / 410.4 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.4152, allocations: 75.97 kB / 410.4 MB, free: 22.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.4154, allocations: 158.2 kB / 410.6 MB, free: 21.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.4158, allocations: 246.1 kB / 410.8 MB, free: 21.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4158, allocations: 3.938 kB / 410.8 MB, free: 21.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008417/0.4166, allocations: 408.6 kB / 411.2 MB, free: 21.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.4166, allocations: 11.88 kB / 411.2 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4167, allocations: 7.938 kB / 411.3 MB, free: 21.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/0.4171, allocations: 108.8 kB / 411.4 MB, free: 21.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.4173, allocations: 35.97 kB / 411.4 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.4199, allocations: 1.952 MB / 413.3 MB, free: 18.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.4201, allocations: 47.73 kB / 413.4 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.4201, allocations: 15.94 kB / 413.4 MB, free: 18.87 MB / 298.7 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.0001459/0.4203, allocations: 153.7 kB / 413.6 MB, free: 18.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.4204, allocations: 35.61 kB / 413.6 MB, free: 18.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.4204, allocations: 21.92 kB / 413.6 MB, free: 18.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4204, allocations: 7.984 kB / 413.6 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.4204, allocations: 0 / 413.6 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4204, allocations: 0 / 413.6 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.4215, allocations: 0.7216 MB / 414.3 MB, free: 17.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4216, allocations: 0 / 414.3 MB, free: 17.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.777e-05/0.4216, allocations: 19.92 kB / 414.4 MB, free: 17.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003016/0.422, allocations: 96.8 kB / 414.5 MB, free: 17.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.422, allocations: 7.984 kB / 414.5 MB, free: 17.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.4242, allocations: 1.952 MB / 416.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4242, allocations: 0 / 416.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.4253, allocations: 1.067 MB / 417.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.4255, allocations: 104.8 kB / 417.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.4255, allocations: 4 kB / 417.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.4257, allocations: 27.97 kB / 417.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.4258, allocations: 11.98 kB / 417.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.4258, allocations: 4 kB / 417.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.426, allocations: 210 kB / 417.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.426, allocations: 0 / 417.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005786/0.4266, allocations: 99.62 kB / 417.9 MB, free: 14.06 MB / 298.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: 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.0001692/0.4268, allocations: 99.25 kB / 418 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007547/0.4275, allocations: 334.4 kB / 418.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4276, allocations: 4.625 kB / 418.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.4279, allocations: 238.5 kB / 418.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.4284, allocations: 38.58 kB / 418.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.4299, allocations: 0.8187 MB / 419.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.4302, allocations: 0.7755 MB / 420.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.4303, allocations: 26.23 kB / 420.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.4303, allocations: 19.44 kB / 420.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4303, allocations: 0 / 420.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of Templates: time 0.00815/0.4385, allocations: 3.526 MB / 423.8 MB, free: 8.121 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches