Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001203/0.001203, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2342, allocations: 50.54 MB / 410 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003865/0.2381, allocations: 3.205 MB / 413.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.2393, allocations: 0.8141 MB / 414 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.2395, allocations: 8 kB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.2396, allocations: 55.44 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.2399, allocations: 123 kB / 414.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.2402, allocations: 131.8 kB / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.2406, allocations: 446.2 kB / 414.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.2409, allocations: 151.9 kB / 414.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.2411, allocations: 175.3 kB / 415.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.2413, allocations: 179.2 kB / 415.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.2414, allocations: 48 kB / 415.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.655e-05/0.2415, allocations: 47.98 kB / 415.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.894e-05/0.2416, allocations: 91.62 kB / 415.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.2417, allocations: 195.1 kB / 415.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.2422, allocations: 0.5072 MB / 416.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2422, allocations: 0 / 416.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2422, allocations: 0 / 416.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2422, allocations: 0 / 416.1 MB, free: 11.45 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.001001/0.2432, allocations: 0.6588 MB / 416.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.2433, allocations: 8.031 kB / 416.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.2434, allocations: 52.45 kB / 416.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.2438, allocations: 315.4 kB / 417.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2438, allocations: 25.03 kB / 417.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.2439, allocations: 28.38 kB / 417.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.2445, allocations: 357.3 kB / 417.5 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2446, allocations: 0 / 417.5 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.2446, allocations: 16 kB / 417.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2446, allocations: 8 kB / 417.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.2452, allocations: 266.5 kB / 417.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.247, allocations: 1.26 MB / 419.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.2476, allocations: 303.7 kB / 419.4 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.2478, allocations: 88.83 kB / 419.5 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.2478, allocations: 0 / 419.5 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.2479, allocations: 46.55 kB / 419.5 MB, free: 7.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.2479, allocations: 0 / 419.5 MB, free: 7.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002046/0.2499, allocations: 0.6354 MB / 420.1 MB, free: 7.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.25, allocations: 55.41 kB / 420.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.2503, allocations: 295 kB / 420.5 MB, free: 6.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.2503, allocations: 29.7 kB / 420.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.2504, allocations: 215.8 kB / 420.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.2505, allocations: 55.19 kB / 420.8 MB, free: 6.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/0.2506, allocations: 53.7 kB / 420.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2507, allocations: 334.8 kB / 421.2 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.2509, allocations: 79.89 kB / 421.2 MB, free: 6.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.2511, allocations: 166.2 kB / 421.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.2516, allocations: 248.6 kB / 421.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2516, allocations: 0 / 421.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009782/0.2526, allocations: 402 kB / 422 MB, free: 5.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2526, allocations: 8 kB / 422 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2526, allocations: 7.938 kB / 422 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.253, allocations: 104.8 kB / 422.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.2532, allocations: 35.98 kB / 422.2 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.2562, allocations: 2.181 MB / 424.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.2564, allocations: 47.64 kB / 424.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.2564, allocations: 11.94 kB / 424.4 MB, free: 2.621 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.0001467/0.2566, allocations: 153.7 kB / 424.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.2566, allocations: 23.72 kB / 424.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.2567, allocations: 29.91 kB / 424.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2567, allocations: 0 / 424.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2567, allocations: 3.938 kB / 424.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.2568, allocations: 108.8 kB / 424.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.2568, allocations: 4 kB / 424.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.257, allocations: 19.98 kB / 424.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.2571, allocations: 19.95 kB / 424.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001031/0.2581, allocations: 400.7 kB / 425.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006509/0.2588, allocations: 454.1 kB / 425.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001735/0.259, allocations: 63.97 kB / 425.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.2592, allocations: 213.9 kB / 425.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of Backend: time 3.8e-07/0.2592, allocations: 0 / 425.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008744/0.2601, allocations: 364.7 kB / 426.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of SimCode: time 0.001005/0.2611, allocations: 1.009 MB / 427.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of Templates: time 0.007002/0.2681, allocations: 3.608 MB / 430.9 MB, free: 12.08 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches