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.001834/0.001834, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00212/0.00212, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.4 MB / 246.3 MB, free: 9.137 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001823, allocations: 62.2 kB / 306.3 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1253, allocations: 50.55 MB / 356.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.00507/0.1304, allocations: 3.236 MB / 360.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1321, allocations: 0.822 MB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.1323, allocations: 4 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.1325, allocations: 51.61 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.1327, allocations: 87.3 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.1331, allocations: 119.8 kB / 361.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.1335, allocations: 422.2 kB / 361.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.1338, allocations: 132.5 kB / 361.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.1341, allocations: 155.4 kB / 361.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.1343, allocations: 167.2 kB / 362 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.666e-05/0.1344, allocations: 24 kB / 362.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.492e-05/0.1345, allocations: 31.98 kB / 362.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.97e-05/0.1346, allocations: 63.7 kB / 362.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.1348, allocations: 179.1 kB / 362.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.1353, allocations: 494.6 kB / 362.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1353, allocations: 0 / 362.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1353, allocations: 0 / 362.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1354, allocations: 4 kB / 362.8 MB, free: 8.277 MB / 302.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.001192/0.1366, allocations: 0.6626 MB / 363.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.1366, allocations: 12.02 kB / 363.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.1368, allocations: 48.47 kB / 363.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.1373, allocations: 307.5 kB / 363.8 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.1373, allocations: 25.03 kB / 363.9 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.1374, allocations: 32.31 kB / 363.9 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007904/0.1381, allocations: 361.3 kB / 364.3 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1382, allocations: 4 kB / 364.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.1382, allocations: 12 kB / 364.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.1382, allocations: 8 kB / 364.3 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006199/0.1389, allocations: 266.5 kB / 364.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.1411, allocations: 1.268 MB / 365.8 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/0.1417, allocations: 303.7 kB / 366.1 MB, free: 4.793 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.142, allocations: 92.83 kB / 366.2 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.142, allocations: 4 kB / 366.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.1421, allocations: 42.48 kB / 366.2 MB, free: 4.645 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.1421, allocations: 0 / 366.2 MB, free: 4.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002225/0.1443, allocations: 0.6394 MB / 366.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.1444, allocations: 55.34 kB / 366.9 MB, free: 3.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.1448, allocations: 298.9 kB / 367.2 MB, free: 3.605 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/0.1449, allocations: 33.7 kB / 367.3 MB, free: 3.566 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.1451, allocations: 219.7 kB / 367.5 MB, free: 3.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.1452, allocations: 43.36 kB / 367.5 MB, free: 3.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1453, allocations: 57.61 kB / 367.6 MB, free: 3.242 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.1455, allocations: 330.8 kB / 367.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.1458, allocations: 79.95 kB / 368 MB, free: 2.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.1461, allocations: 162.2 kB / 368.1 MB, free: 2.637 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.1466, allocations: 253.3 kB / 368.4 MB, free: 2.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.1467, allocations: 4 kB / 368.4 MB, free: 2.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001076/0.1477, allocations: 405.9 kB / 368.8 MB, free: 1.945 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.1478, allocations: 7.938 kB / 368.8 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1478, allocations: 4 kB / 368.8 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.1483, allocations: 104.8 kB / 368.9 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.1485, allocations: 35.92 kB / 368.9 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2327/0.3811, allocations: 1.957 MB / 370.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.3815, allocations: 37.95 kB / 370.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.3815, allocations: 17.38 kB / 370.9 MB, free: 18.98 MB / 302.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.0001842/0.3817, allocations: 147.7 kB / 371.1 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.3818, allocations: 26.75 kB / 371.1 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.195e-05/0.3819, allocations: 34.11 kB / 371.1 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3819, allocations: 2.094 kB / 371.1 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3819, allocations: 0.6094 kB / 371.1 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3819, allocations: 1.75 kB / 371.1 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.3834, allocations: 0.7267 MB / 371.9 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3835, allocations: 3.75 kB / 371.9 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.769e-05/0.3836, allocations: 15.03 kB / 371.9 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/0.384, allocations: 109.6 kB / 372 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.384, allocations: 2.5 kB / 372 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002685/0.3867, allocations: 1.95 MB / 373.9 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3867, allocations: 0 / 373.9 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009037/0.3876, allocations: 409.6 kB / 374.3 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.3877, allocations: 113.2 kB / 374.5 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.3878, allocations: 5.531 kB / 374.5 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.388, allocations: 23.31 kB / 374.5 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.3881, allocations: 15.56 kB / 374.5 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3881, allocations: 2.969 kB / 374.5 MB, free: 16.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002793/0.3884, allocations: 212.5 kB / 374.7 MB, free: 16.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3884, allocations: 3.188 kB / 374.7 MB, free: 16.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005493/0.3889, allocations: 93.91 kB / 374.8 MB, free: 16.88 MB / 302.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.0001371/0.3891, allocations: 101.8 kB / 374.9 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007962/0.3899, allocations: 336.9 kB / 375.2 MB, free: 16.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3899, allocations: 0.5625 kB / 375.2 MB, free: 16.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.3903, allocations: 222.2 kB / 375.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.3907, allocations: 43.77 kB / 375.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3921, allocations: 0.6826 MB / 376.2 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3924, allocations: 0.7682 MB / 376.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.3925, allocations: 25.2 kB / 377 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.3925, allocations: 18.48 kB / 377 MB, free: 15.35 MB / 302.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3925, allocations: 0.8125 kB / 377 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Templates: time 0.01069/0.4032, allocations: 3.393 MB / 380.4 MB, free: 15.14 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/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