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.001912/0.001912, allocations: 115.3 kB / 17.06 MB, free: 6 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.00214/0.00214, allocations: 196 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.544/1.544, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 55.91 kB / 351.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4312, allocations: 49.43 MB / 400.8 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004911/0.4362, allocations: 3.194 MB / 403.9 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.4377, allocations: 0.7479 MB / 404.7 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.4378, allocations: 7.938 kB / 404.7 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.4381, allocations: 63.42 kB / 404.8 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.4384, allocations: 111.1 kB / 404.9 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.4387, allocations: 127.8 kB / 405 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.4392, allocations: 442.2 kB / 405.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.4395, allocations: 151.9 kB / 405.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.4398, allocations: 171.3 kB / 405.7 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.4401, allocations: 183.2 kB / 405.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.542e-05/0.4402, allocations: 44 kB / 406 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.389e-05/0.4402, allocations: 44 kB / 406 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.4403, allocations: 83.7 kB / 406.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.4405, allocations: 199 kB / 406.3 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.4412, allocations: 0.4994 MB / 406.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.4412, allocations: 0 / 406.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4412, allocations: 0 / 406.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.4412, allocations: 4 kB / 406.8 MB, free: 2.793 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.001372/0.4426, allocations: 0.6548 MB / 407.4 MB, free: 2.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.4427, allocations: 12.02 kB / 407.5 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.751e-05/0.4428, allocations: 40.47 kB / 407.5 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.4433, allocations: 307.6 kB / 407.8 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.4434, allocations: 21.03 kB / 407.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.4434, allocations: 32.38 kB / 407.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000842/0.4443, allocations: 349.4 kB / 408.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.4443, allocations: 0 / 408.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.4444, allocations: 16 kB / 408.2 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.4444, allocations: 8 kB / 408.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.4451, allocations: 270.4 kB / 408.5 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.4474, allocations: 1.264 MB / 409.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/0.448, allocations: 291.8 kB / 410 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.4483, allocations: 104.8 kB / 410.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.4483, allocations: 0 / 410.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.4484, allocations: 38.56 kB / 410.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 9.82e-07/0.4484, allocations: 0 / 410.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002119/0.4505, allocations: 0.6394 MB / 410.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.4506, allocations: 55.34 kB / 410.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.451, allocations: 298.9 kB / 411.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.451, allocations: 29.64 kB / 411.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.4512, allocations: 215.8 kB / 411.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.4512, allocations: 51.28 kB / 411.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.701e-05/0.4514, allocations: 57.61 kB / 411.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4515, allocations: 330.8 kB / 411.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.4517, allocations: 79.95 kB / 411.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.452, allocations: 166.2 kB / 412.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.4525, allocations: 242.1 kB / 412.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4525, allocations: 4 kB / 412.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009723/0.4535, allocations: 408.4 kB / 412.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.4535, allocations: 7.938 kB / 412.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.4535, allocations: 7.984 kB / 412.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/0.454, allocations: 100.9 kB / 412.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.4542, allocations: 39.91 kB / 412.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/0.4574, allocations: 2.188 MB / 415 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.4576, allocations: 39.73 kB / 415.1 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.4577, allocations: 12 kB / 415.1 MB, free: 9.973 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.0002127/0.4579, allocations: 149.7 kB / 415.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.4579, allocations: 23.72 kB / 415.3 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.884e-05/0.458, allocations: 29.91 kB / 415.3 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.458, allocations: 7.938 kB / 415.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.458, allocations: 0 / 415.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.458, allocations: 4 kB / 415.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.4593, allocations: 0.7178 MB / 416 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.4594, allocations: 3.984 kB / 416 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.784e-05/0.4594, allocations: 12 kB / 416 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003195/0.4598, allocations: 104.7 kB / 416.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.4598, allocations: 7.938 kB / 416.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002831/0.4626, allocations: 2.163 MB / 418.3 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4626, allocations: 3.938 kB / 418.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.4634, allocations: 404.3 kB / 418.7 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.4635, allocations: 104.8 kB / 418.8 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.4636, allocations: 0 / 418.8 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.4638, allocations: 31.92 kB / 418.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.4638, allocations: 11.97 kB / 418.9 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.4638, allocations: 11.94 kB / 418.9 MB, free: 5.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.464, allocations: 210 kB / 419.1 MB, free: 5.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4641, allocations: 0 / 419.1 MB, free: 5.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004573/0.4645, allocations: 95.69 kB / 419.2 MB, free: 5.648 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.0002181/0.4647, allocations: 108.8 kB / 419.3 MB, free: 5.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007358/0.4655, allocations: 338.9 kB / 419.6 MB, free: 5.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.4655, allocations: 4.188 kB / 419.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.4658, allocations: 225.4 kB / 419.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.4663, allocations: 40.88 kB / 419.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.4674, allocations: 0.5512 MB / 420.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.4679, allocations: 0.7635 MB / 421.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.283e-05/0.468, allocations: 26.28 kB / 421.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.468, allocations: 19.44 kB / 421.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.468, allocations: 0 / 421.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of Templates: time 0.007948/0.476, allocations: 3.68 MB / 424.9 MB, free: 15.83 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