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.001029/0.001029, allocations: 93.55 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001102, allocations: 205.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.2 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002887, allocations: 8 kB / 306.6 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.139, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003284/0.1424, allocations: 2.595 MB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1437, allocations: 0.7914 MB / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.1439, allocations: 8 kB / 361.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.331e-05/0.144, allocations: 43.67 kB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.1443, allocations: 119.6 kB / 361.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1446, allocations: 75.91 kB / 361.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000374/0.145, allocations: 295.2 kB / 362 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.1453, allocations: 119 kB / 362.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.1455, allocations: 139.5 kB / 362.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1457, allocations: 151.2 kB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.1457, allocations: 20 kB / 362.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.732e-05/0.1458, allocations: 20 kB / 362.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.1459, allocations: 55.77 kB / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.839e-05/0.146, allocations: 93.52 kB / 362.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.1463, allocations: 395.1 kB / 363 MB, free: 8.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1463, allocations: 3.938 kB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1463, allocations: 0 / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1464, allocations: 0 / 363 MB, free: 8.98 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.00105/0.1474, allocations: 0.6119 MB / 363.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1475, allocations: 12.03 kB / 363.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.1477, allocations: 47.53 kB / 363.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.1481, allocations: 306.3 kB / 363.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.1481, allocations: 24.66 kB / 364 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.1481, allocations: 32 kB / 364 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006379/0.1488, allocations: 341.1 kB / 364.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1488, allocations: 0 / 364.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.1489, allocations: 20 kB / 364.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.1489, allocations: 11.94 kB / 364.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/0.1495, allocations: 270.5 kB / 364.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.1515, allocations: 1.284 MB / 365.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/0.1521, allocations: 299.8 kB / 366.2 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.1521, allocations: 3.938 kB / 366.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1522, allocations: 34.56 kB / 366.2 MB, free: 5.496 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.1522, allocations: 0 / 366.2 MB, free: 5.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002173/0.1544, allocations: 0.6788 MB / 366.9 MB, free: 4.789 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.1544, allocations: 55.41 kB / 367 MB, free: 4.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.1548, allocations: 298.9 kB / 367.3 MB, free: 4.422 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1548, allocations: 25.7 kB / 367.3 MB, free: 4.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.155, allocations: 219.8 kB / 367.5 MB, free: 4.172 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.155, allocations: 55.22 kB / 367.6 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.155, allocations: 4 kB / 367.6 MB, free: 4.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1552, allocations: 334.8 kB / 367.9 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.1554, allocations: 83.97 kB / 368 MB, free: 3.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.1557, allocations: 162.2 kB / 368.1 MB, free: 3.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.1559, allocations: 103.9 kB / 368.2 MB, free: 3.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1559, allocations: 0 / 368.2 MB, free: 3.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009545/0.1569, allocations: 424.4 kB / 368.6 MB, free: 2.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1569, allocations: 4 kB / 368.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.1569, allocations: 7.984 kB / 368.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/0.1574, allocations: 104.9 kB / 368.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1576, allocations: 47.91 kB / 368.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/0.1604, allocations: 2.034 MB / 370.8 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.1606, allocations: 39.69 kB / 370.9 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.1607, allocations: 15.98 kB / 370.9 MB, free: 0.5938 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.0002047/0.1609, allocations: 153.8 kB / 371 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.1609, allocations: 27.62 kB / 371.1 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.161, allocations: 33.86 kB / 371.1 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.161, allocations: 0 / 371.1 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.161, allocations: 0 / 371.1 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.161, allocations: 0 / 371.1 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2414/0.4024, allocations: 0.7384 MB / 371.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4025, allocations: 0 / 371.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.424e-05/0.4026, allocations: 17.12 kB / 371.9 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004113/0.403, allocations: 106.7 kB / 372 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.403, allocations: 4.859 kB / 372 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/0.4061, allocations: 2.014 MB / 374 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4061, allocations: 0 / 374 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4072, allocations: 432.7 kB / 374.4 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.4074, allocations: 109.6 kB / 374.5 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.4074, allocations: 5.5 kB / 374.5 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.4077, allocations: 26.22 kB / 374.5 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.4078, allocations: 15.05 kB / 374.6 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.4078, allocations: 7.406 kB / 374.6 MB, free: 18.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003813/0.4082, allocations: 214.6 kB / 374.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4082, allocations: 0 / 374.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006508/0.4089, allocations: 90.7 kB / 374.9 MB, free: 17.97 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.0001948/0.4091, allocations: 100.6 kB / 375 MB, free: 17.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008658/0.4099, allocations: 340.8 kB / 375.3 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.41, allocations: 8.094 kB / 375.3 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.4104, allocations: 231.4 kB / 375.5 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.4108, allocations: 41.83 kB / 375.6 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.412, allocations: 0.6621 MB / 376.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.4123, allocations: 0.7789 MB / 377 MB, free: 16.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.4124, allocations: 32.94 kB / 377 MB, free: 16.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.4125, allocations: 18.92 kB / 377.1 MB, free: 16.55 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4125, allocations: 1.375 kB / 377.1 MB, free: 16.55 MB / 302.1 MB Notification: Performance of Templates: time 0.00842/0.4209, allocations: 3.243 MB / 380.3 MB, free: 16.35 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches