Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.0009041, allocations: 94.8 kB / 16.3 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000913/0.0009131, allocations: 185 kB / 17.2 MB, free: 5.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 241.1 MB, free: 14.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002541/0.0002541, allocations: 11.94 kB / 300.7 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1115, allocations: 50.4 MB / 351.1 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002849/0.1144, allocations: 2.578 MB / 353.7 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1154, allocations: 0.7485 MB / 354.5 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.1156, allocations: 4 kB / 354.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.678e-05/0.1157, allocations: 47.67 kB / 354.5 MB, free: 424 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.116, allocations: 123.6 kB / 354.6 MB, free: 300 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.1162, allocations: 71.91 kB / 354.7 MB, free: 228 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.1166, allocations: 291.3 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.1168, allocations: 119.1 kB / 355.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.117, allocations: 131.5 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1171, allocations: 147.3 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.1172, allocations: 20 kB / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.297e-05/0.1172, allocations: 20 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.1173, allocations: 63.75 kB / 355.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.1174, allocations: 89.52 kB / 355.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.1177, allocations: 387.1 kB / 356 MB, free: 14.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1177, allocations: 0 / 356 MB, free: 14.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1177, allocations: 0 / 356 MB, free: 14.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1177, allocations: 0 / 356 MB, free: 14.96 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.0009398/0.1187, allocations: 0.6158 MB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1187, allocations: 8.031 kB / 356.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.1188, allocations: 39.53 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.1191, allocations: 298.4 kB / 356.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.1192, allocations: 20.66 kB / 356.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.1192, allocations: 32 kB / 357 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/0.1198, allocations: 345 kB / 357.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1198, allocations: 0 / 357.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.1199, allocations: 20 kB / 357.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1199, allocations: 19.86 kB / 357.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.1205, allocations: 266.5 kB / 357.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.1223, allocations: 1.288 MB / 358.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.1229, allocations: 298.8 kB / 359.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.1229, allocations: 3.938 kB / 359.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.123, allocations: 34.56 kB / 359.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 4.088e-06/0.123, allocations: 3.984 kB / 359.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002079/0.1251, allocations: 0.6865 MB / 359.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.1251, allocations: 55.41 kB / 360 MB, free: 10.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.1254, allocations: 302.9 kB / 360.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.1255, allocations: 25.7 kB / 360.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.1256, allocations: 215.8 kB / 360.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.1257, allocations: 55.28 kB / 360.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/0.1257, allocations: 0 / 360.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1258, allocations: 334.8 kB / 360.9 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.126, allocations: 83.97 kB / 361 MB, free: 9.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.1263, allocations: 162.2 kB / 361.1 MB, free: 9.496 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.1265, allocations: 103.9 kB / 361.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1265, allocations: 0 / 361.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008972/0.1274, allocations: 424.6 kB / 361.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1275, allocations: 11.98 kB / 361.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1275, allocations: 0 / 361.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003925/0.1279, allocations: 104.9 kB / 361.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.128, allocations: 47.91 kB / 361.8 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.1309, allocations: 2.026 MB / 363.8 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.1311, allocations: 39.67 kB / 363.9 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.1311, allocations: 12 kB / 363.9 MB, free: 6.598 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.0001283/0.1312, allocations: 149.8 kB / 364 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.1313, allocations: 31.62 kB / 364 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.1314, allocations: 33.84 kB / 364.1 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1314, allocations: 0 / 364.1 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1314, allocations: 4 kB / 364.1 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.1314, allocations: 7.953 kB / 364.1 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.1325, allocations: 0.7372 MB / 364.8 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1325, allocations: 0 / 364.8 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.1326, allocations: 15.98 kB / 364.8 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/0.1329, allocations: 108.7 kB / 364.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.133, allocations: 4 kB / 364.9 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.1354, allocations: 2.019 MB / 367 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1354, allocations: 4.062 kB / 367 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000804/0.1362, allocations: 435.1 kB / 367.4 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.1363, allocations: 108.7 kB / 367.5 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.1363, allocations: 4 kB / 367.5 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.1365, allocations: 19.98 kB / 367.5 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1366, allocations: 19.94 kB / 367.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1366, allocations: 7.984 kB / 367.6 MB, free: 2.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.1368, allocations: 210 kB / 367.8 MB, free: 2.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1368, allocations: 0 / 367.8 MB, free: 2.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004331/0.1372, allocations: 91.78 kB / 367.8 MB, free: 2.371 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.000132/0.1373, allocations: 106.4 kB / 367.9 MB, free: 2.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006569/0.138, allocations: 342.4 kB / 368.3 MB, free: 1.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.138, allocations: 0 / 368.3 MB, free: 1.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.1384, allocations: 235.2 kB / 368.5 MB, free: 1.668 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.1387, allocations: 39.72 kB / 368.6 MB, free: 1.629 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.1397, allocations: 0.6528 MB / 369.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.14, allocations: 0.7796 MB / 370 MB, free: 144 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.12e-05/0.1401, allocations: 26.28 kB / 370 MB, free: 120 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.1401, allocations: 15.44 kB / 370 MB, free: 104 kB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1402, allocations: 3.938 kB / 370 MB, free: 100 kB / 302.1 MB Notification: Performance of Templates: time 0.1735/0.3136, allocations: 3.235 MB / 373.3 MB, free: 23.7 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches