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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 51.91 kB / 365.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1235, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.00465/0.1281, allocations: 3.208 MB / 421 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1295, allocations: 0.7596 MB / 421.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.1297, allocations: 4 kB / 421.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.1298, allocations: 63.42 kB / 421.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1301, allocations: 115 kB / 422 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1303, allocations: 123.8 kB / 422.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000478/0.1308, allocations: 446.1 kB / 422.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.1311, allocations: 115.9 kB / 422.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.1313, allocations: 167.4 kB / 422.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.1315, allocations: 179.2 kB / 423 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.714e-05/0.1316, allocations: 44 kB / 423 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.615e-05/0.1317, allocations: 44 kB / 423 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-05/0.1318, allocations: 87.64 kB / 423.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.132, allocations: 203.1 kB / 423.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.1326, allocations: 0.498 MB / 423.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1326, allocations: 0 / 423.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1326, allocations: 0 / 423.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.1326, allocations: 0 / 423.8 MB, free: 6.559 MB / 350.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.001169/0.1337, allocations: 0.674 MB / 424.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1338, allocations: 8.031 kB / 424.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.009e-05/0.1339, allocations: 70.72 kB / 424.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.824e-05/0.1339, allocations: 40.7 kB / 424.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.1344, allocations: 311.5 kB / 424.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.1344, allocations: 21.03 kB / 424.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.1345, allocations: 36.38 kB / 425 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.1351, allocations: 349.2 kB / 425.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1351, allocations: 3.938 kB / 425.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.1352, allocations: 16 kB / 425.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.1352, allocations: 8 kB / 425.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006048/0.1358, allocations: 270.4 kB / 425.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.1378, allocations: 1.261 MB / 426.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000609/0.1384, allocations: 283.8 kB / 427.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.1386, allocations: 88.75 kB / 427.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.1387, allocations: 4 kB / 427.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1387, allocations: 34.56 kB / 427.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.1387, allocations: 3.938 kB / 427.3 MB, free: 2.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002185/0.1409, allocations: 0.6356 MB / 427.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1409, allocations: 55.41 kB / 428 MB, free: 2.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.1413, allocations: 299 kB / 428.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.1413, allocations: 29.7 kB / 428.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1414, allocations: 216.3 kB / 428.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.1415, allocations: 55.53 kB / 428.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.1416, allocations: 49.66 kB / 428.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1417, allocations: 334.8 kB / 428.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.142, allocations: 87.95 kB / 429 MB, free: 1.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.1422, allocations: 166.2 kB / 429.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/0.1427, allocations: 236.5 kB / 429.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1427, allocations: 4 kB / 429.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009945/0.1437, allocations: 402 kB / 429.8 MB, free: 204 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1437, allocations: 11.94 kB / 429.8 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1437, allocations: 4 kB / 429.8 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004562/0.1442, allocations: 104.8 kB / 429.9 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.1443, allocations: 39.92 kB / 430 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003316/0.1476, allocations: 2.19 MB / 432.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1479, allocations: 31.78 kB / 432.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.1479, allocations: 15.98 kB / 432.2 MB, free: 13.66 MB / 366.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.0001807/0.1481, allocations: 146.6 kB / 432.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.1481, allocations: 31.75 kB / 432.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.1482, allocations: 29.91 kB / 432.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1482, allocations: 3.938 kB / 432.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1482, allocations: 0 / 432.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1482, allocations: 7.875 kB / 432.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.1495, allocations: 0.717 MB / 433.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1495, allocations: 0 / 433.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.367e-05/0.1496, allocations: 15.98 kB / 433.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.1499, allocations: 108.7 kB / 433.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.15, allocations: 4 kB / 433.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/0.1529, allocations: 2.158 MB / 435.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1529, allocations: 4 kB / 435.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008786/0.1538, allocations: 412.5 kB / 435.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.69e-05/0.1539, allocations: 112.8 kB / 435.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.1539, allocations: 0 / 435.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.1541, allocations: 19.98 kB / 436 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.1542, allocations: 19.91 kB / 436 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1542, allocations: 8 kB / 436 MB, free: 9.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.1544, allocations: 210 kB / 436.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1544, allocations: 4 kB / 436.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004666/0.1549, allocations: 79.89 kB / 436.3 MB, free: 9.348 MB / 366.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.001345/0.1562, allocations: 0.9588 MB / 437.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007588/0.157, allocations: 337.6 kB / 437.6 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.157, allocations: 0 / 437.6 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.1574, allocations: 218.5 kB / 437.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.1578, allocations: 51.64 kB / 437.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004811/0.1626, allocations: 3.127 MB / 440.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.163, allocations: 0.7752 MB / 441.7 MB, free: 3.648 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.324e-05/0.1631, allocations: 22.3 kB / 441.7 MB, free: 3.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.1632, allocations: 95.34 kB / 441.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1632, allocations: 0 / 441.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2205/0.3837, allocations: 6.645 MB / 448.5 MB, free: 31.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.13, allocations: 8.594 kB / 448.5 MB, free: 31 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv","/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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable vOut.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv. Warning: Get data of variable vOut.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.55955138290301]