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.001166/0.001166, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 212.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2344, allocations: 50.54 MB / 410 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003803/0.2382, allocations: 3.205 MB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.2394, allocations: 0.8063 MB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.2396, allocations: 4 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.2398, allocations: 63.38 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.24, allocations: 115.1 kB / 414.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.2403, allocations: 135.7 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.2407, allocations: 438.3 kB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.2409, allocations: 167.8 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.2412, allocations: 167.4 kB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.2414, allocations: 183.2 kB / 415.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-05/0.2414, allocations: 51.98 kB / 415.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.874e-05/0.2415, allocations: 44 kB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.2416, allocations: 87.69 kB / 415.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.2417, allocations: 191.1 kB / 415.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.2422, allocations: 0.5072 MB / 416.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2422, allocations: 4 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2422, allocations: 0 / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.2422, allocations: 0 / 416.1 MB, free: 11.39 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.0009632/0.2432, allocations: 0.6548 MB / 416.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2432, allocations: 12.03 kB / 416.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.2434, allocations: 52.39 kB / 416.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.2438, allocations: 315.5 kB / 417.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.2438, allocations: 21.03 kB / 417.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.2439, allocations: 32.38 kB / 417.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.2445, allocations: 357.3 kB / 417.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2445, allocations: 0 / 417.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.2445, allocations: 16 kB / 417.5 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.2446, allocations: 8 kB / 417.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005647/0.2451, allocations: 262.5 kB / 417.8 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.2469, allocations: 1.256 MB / 419.1 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.2475, allocations: 307.7 kB / 419.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.2478, allocations: 92.81 kB / 419.5 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.2478, allocations: 4 kB / 419.5 MB, free: 7.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.2478, allocations: 38.55 kB / 419.5 MB, free: 7.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.2479, allocations: 0 / 419.5 MB, free: 7.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002145/0.25, allocations: 0.6429 MB / 420.1 MB, free: 7.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.2501, allocations: 59.34 kB / 420.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.2503, allocations: 295 kB / 420.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.2504, allocations: 29.7 kB / 420.5 MB, free: 6.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.2505, allocations: 215.8 kB / 420.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.2506, allocations: 51.2 kB / 420.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.418e-05/0.2506, allocations: 53.7 kB / 420.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2508, allocations: 334.8 kB / 421.2 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.251, allocations: 83.95 kB / 421.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.2512, allocations: 162.2 kB / 421.4 MB, free: 5.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.2517, allocations: 252.9 kB / 421.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2517, allocations: 0 / 421.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009727/0.2527, allocations: 401.9 kB / 422 MB, free: 5.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2527, allocations: 11.94 kB / 422 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2527, allocations: 4 kB / 422 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.2531, allocations: 108.8 kB / 422.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.2533, allocations: 39.86 kB / 422.2 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.2561, allocations: 2.162 MB / 424.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.2563, allocations: 47.64 kB / 424.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.2564, allocations: 12 kB / 424.4 MB, free: 2.566 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.000138/0.2565, allocations: 153.7 kB / 424.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.2566, allocations: 23.72 kB / 424.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.2566, allocations: 33.84 kB / 424.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2566, allocations: 3.938 kB / 424.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2566, allocations: 4 kB / 424.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2567, allocations: 4 kB / 424.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.2579, allocations: 0.7217 MB / 425.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2579, allocations: 3.984 kB / 425.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.258, allocations: 12 kB / 425.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003236/0.2583, allocations: 100.8 kB / 425.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.2583, allocations: 7.938 kB / 425.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/0.2609, allocations: 2.159 MB / 427.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2609, allocations: 3.938 kB / 427.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000814/0.2618, allocations: 412.2 kB / 428 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.2618, allocations: 104.8 kB / 428.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.2619, allocations: 0 / 428.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.2621, allocations: 27.98 kB / 428.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.2621, allocations: 11.97 kB / 428.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.2622, allocations: 11.94 kB / 428.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.2624, allocations: 210 kB / 428.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2624, allocations: 0 / 428.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004483/0.2628, allocations: 95.69 kB / 428.5 MB, free: 14.23 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.0001171/0.2629, allocations: 100.4 kB / 428.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000681/0.2636, allocations: 345.5 kB / 428.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2636, allocations: 4.25 kB / 428.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.264, allocations: 226.5 kB / 429.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.2644, allocations: 44.39 kB / 429.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009802/0.2654, allocations: 0.5725 MB / 429.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.2656, allocations: 0.7675 MB / 430.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.2657, allocations: 23.38 kB / 430.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2657, allocations: 4 kB / 430.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of Templates: time 0.005969/0.2717, allocations: 4.757 MB / 435.3 MB, free: 7.305 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