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.000996/0.0009959, allocations: 96.95 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 194.5 kB / 17.91 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002461/0.0002462, allocations: 11.98 kB / 307.1 MB, free: 1.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1235, allocations: 51.53 MB / 358.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003637/0.1272, allocations: 2.74 MB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1285, allocations: 0.7717 MB / 362.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.1287, allocations: 15.88 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.1288, allocations: 39.69 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.129, allocations: 91.23 kB / 362.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.1293, allocations: 87.89 kB / 362.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.1297, allocations: 406.2 kB / 362.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.1299, allocations: 123 kB / 362.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.1302, allocations: 135.5 kB / 363 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1304, allocations: 151.2 kB / 363.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.1304, allocations: 16 kB / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-05/0.1305, allocations: 24 kB / 363.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.1306, allocations: 55.77 kB / 363.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.693e-05/0.1307, allocations: 89.52 kB / 363.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.131, allocations: 403.1 kB / 363.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.131, allocations: 0 / 363.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.131, allocations: 0 / 363.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1311, allocations: 0 / 363.8 MB, free: 8.477 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.0009688/0.132, allocations: 0.6196 MB / 364.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1321, allocations: 8.031 kB / 364.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.1323, allocations: 51.52 kB / 364.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.1326, allocations: 302.3 kB / 364.7 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.1327, allocations: 28.61 kB / 364.8 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.1327, allocations: 31.94 kB / 364.8 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.1333, allocations: 353.1 kB / 365.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1334, allocations: 0 / 365.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.1334, allocations: 16 kB / 365.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.1334, allocations: 8 kB / 365.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005649/0.134, allocations: 278.5 kB / 365.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.136, allocations: 1.268 MB / 366.7 MB, free: 5.355 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.1366, allocations: 307.7 kB / 367 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.1368, allocations: 108.8 kB / 367.1 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1369, allocations: 0 / 367.1 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1369, allocations: 34.56 kB / 367.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.1369, allocations: 0 / 367.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001946/0.1389, allocations: 0.6862 MB / 367.8 MB, free: 4.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1389, allocations: 59.41 kB / 367.9 MB, free: 4.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.1392, allocations: 291 kB / 368.2 MB, free: 3.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1393, allocations: 33.64 kB / 368.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.1394, allocations: 219.7 kB / 368.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.1395, allocations: 59.23 kB / 368.5 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.1395, allocations: 4 kB / 368.5 MB, free: 3.477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1397, allocations: 334.8 kB / 368.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.1399, allocations: 79.97 kB / 368.9 MB, free: 3.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.1402, allocations: 170.2 kB / 369 MB, free: 2.859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.1404, allocations: 99.91 kB / 369.1 MB, free: 2.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1404, allocations: 4 kB / 369.1 MB, free: 2.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008872/0.1413, allocations: 421.9 kB / 369.6 MB, free: 2.336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1413, allocations: 7.984 kB / 369.6 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1414, allocations: 4 kB / 369.6 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000411/0.1418, allocations: 104.9 kB / 369.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1419, allocations: 51.91 kB / 369.7 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.1446, allocations: 1.993 MB / 371.7 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.1448, allocations: 43.67 kB / 371.8 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2295/0.3743, allocations: 6.141 kB / 371.8 MB, free: 18.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003278/0.3747, allocations: 150.5 kB / 371.9 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.3748, allocations: 24.81 kB / 371.9 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.57e-05/0.3749, allocations: 34.19 kB / 372 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3749, allocations: 2.281 kB / 372 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3749, allocations: 0.5625 kB / 372 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3749, allocations: 1.547 kB / 372 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.3765, allocations: 0.745 MB / 372.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3765, allocations: 0 / 372.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.215e-05/0.3766, allocations: 15.12 kB / 372.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003456/0.377, allocations: 111.9 kB / 372.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.377, allocations: 2.266 kB / 372.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/0.3793, allocations: 1.98 MB / 374.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3793, allocations: 2.531 kB / 374.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/0.3802, allocations: 431.7 kB / 375.3 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.3803, allocations: 108.5 kB / 375.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.3803, allocations: 2.75 kB / 375.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.3805, allocations: 28.86 kB / 375.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.3806, allocations: 13.39 kB / 375.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3806, allocations: 6.156 kB / 375.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.3809, allocations: 208.8 kB / 375.6 MB, free: 16.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3809, allocations: 0 / 375.6 MB, free: 16.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005231/0.3814, allocations: 90.66 kB / 375.7 MB, free: 16.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.3816, allocations: 107 kB / 375.8 MB, free: 16.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009725/0.3825, allocations: 344.7 kB / 376.1 MB, free: 16.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3826, allocations: 2.594 kB / 376.1 MB, free: 16.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.383, allocations: 229.9 kB / 376.4 MB, free: 16.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.3835, allocations: 44.53 kB / 376.4 MB, free: 16.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.3848, allocations: 0.6739 MB / 377.1 MB, free: 16.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3851, allocations: 0.7728 MB / 377.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.3853, allocations: 23.94 kB / 377.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.3853, allocations: 22.58 kB / 377.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of SimCode: time 1.683e-06/0.3853, allocations: 1.719 kB / 377.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Templates: time 0.008903/0.3942, allocations: 3.25 MB / 381.2 MB, free: 15.16 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.0.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