Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001528/0.001528, allocations: 115.5 kB / 18.45 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001635, allocations: 206.8 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.91 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2512, allocations: 50.55 MB / 410.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004353/0.2556, allocations: 3.2 MB / 413.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.257, allocations: 0.8297 MB / 414.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.2572, allocations: 4 kB / 414.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.2574, allocations: 63.36 kB / 414.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.2576, allocations: 107.1 kB / 414.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.2579, allocations: 147.7 kB / 414.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.2583, allocations: 434.3 kB / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.2586, allocations: 123.8 kB / 415.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.2588, allocations: 167.4 kB / 415.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.259, allocations: 183.2 kB / 415.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.308e-05/0.2591, allocations: 44 kB / 415.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.2592, allocations: 48 kB / 415.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.387e-05/0.2593, allocations: 91.69 kB / 415.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.2594, allocations: 195.1 kB / 415.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005432/0.26, allocations: 0.498 MB / 416.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.26, allocations: 4 kB / 416.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.26, allocations: 0 / 416.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.26, allocations: 3.938 kB / 416.4 MB, free: 11.27 MB / 334.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.001059/0.261, allocations: 0.6778 MB / 417 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2611, allocations: 8.031 kB / 417 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.2613, allocations: 48.69 kB / 417.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.2617, allocations: 319.6 kB / 417.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.2617, allocations: 21.03 kB / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.2617, allocations: 36.38 kB / 417.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.2624, allocations: 353.3 kB / 417.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2624, allocations: 0 / 417.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.2624, allocations: 16 kB / 417.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.2624, allocations: 8 kB / 417.8 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.263, allocations: 266.5 kB / 418.1 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.265, allocations: 1.261 MB / 419.3 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.2656, allocations: 287.7 kB / 419.6 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.2658, allocations: 84.81 kB / 419.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.2658, allocations: 4 kB / 419.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.2658, allocations: 34.56 kB / 419.7 MB, free: 7.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.163e-06/0.2658, allocations: 0 / 419.7 MB, free: 7.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002101/0.2679, allocations: 0.6317 MB / 420.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.268, allocations: 63.34 kB / 420.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.2683, allocations: 298.9 kB / 420.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.2683, allocations: 33.7 kB / 420.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.2685, allocations: 220.2 kB / 421 MB, free: 6.371 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.2685, allocations: 55.52 kB / 421 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.2686, allocations: 53.66 kB / 421.1 MB, free: 6.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2687, allocations: 334.8 kB / 421.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.269, allocations: 83.95 kB / 421.5 MB, free: 5.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.2692, allocations: 154.3 kB / 421.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.2697, allocations: 249.3 kB / 421.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2697, allocations: 0 / 421.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009671/0.2706, allocations: 406 kB / 422.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2706, allocations: 7.938 kB / 422.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2707, allocations: 4 kB / 422.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/0.2711, allocations: 108.8 kB / 422.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.2712, allocations: 35.92 kB / 422.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/0.2743, allocations: 2.182 MB / 424.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.2745, allocations: 35.77 kB / 424.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.2745, allocations: 8 kB / 424.7 MB, free: 2.449 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.0001612/0.2747, allocations: 157.8 kB / 424.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.2747, allocations: 27.86 kB / 424.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.2748, allocations: 25.91 kB / 424.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.2748, allocations: 7.938 kB / 424.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.2748, allocations: 0 / 424.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2748, allocations: 3.984 kB / 424.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.2761, allocations: 0.7295 MB / 425.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2761, allocations: 3.984 kB / 425.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-05/0.2762, allocations: 15.98 kB / 425.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003241/0.2765, allocations: 92.8 kB / 425.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2765, allocations: 7.938 kB / 425.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/0.2794, allocations: 2.155 MB / 427.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2794, allocations: 3.938 kB / 427.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008725/0.2803, allocations: 415.4 kB / 428.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.2804, allocations: 104.9 kB / 428.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.2804, allocations: 11.98 kB / 428.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2806, allocations: 15.98 kB / 428.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.2806, allocations: 15.98 kB / 428.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.2807, allocations: 7.938 kB / 428.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.2809, allocations: 210 kB / 428.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2809, allocations: 0 / 428.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004667/0.2813, allocations: 87.89 kB / 428.7 MB, free: 14.12 MB / 350.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.0001402/0.2815, allocations: 107.2 kB / 428.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007342/0.2822, allocations: 338.4 kB / 429.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2822, allocations: 0 / 429.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.2826, allocations: 223.1 kB / 429.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.283, allocations: 48.81 kB / 429.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.2841, allocations: 0.5586 MB / 430 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.2845, allocations: 0.7675 MB / 430.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.287e-05/0.2846, allocations: 34.2 kB / 430.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.2846, allocations: 19.44 kB / 430.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2846, allocations: 0 / 430.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of Templates: time 0.008057/0.2927, allocations: 3.711 MB / 434.5 MB, free: 8.262 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches