Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001881/0.001881, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002187/0.002187, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 71.89 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1355, allocations: 53.38 MB / 426.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003991/0.1395, allocations: 2.053 MB / 428.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1407, allocations: 0.5844 MB / 429 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.746e-05/0.1408, allocations: 4 kB / 429 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.1409, allocations: 19.8 kB / 429 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.141, allocations: 39.69 kB / 429.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.1413, allocations: 63.86 kB / 429.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.1416, allocations: 215.3 kB / 429.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1417, allocations: 37.09 kB / 429.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1419, allocations: 79.77 kB / 429.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.1421, allocations: 91.64 kB / 429.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.1421, allocations: 24 kB / 429.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.615e-05/0.1422, allocations: 24 kB / 429.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.1422, allocations: 31.89 kB / 429.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.537e-05/0.1423, allocations: 79.66 kB / 429.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.1427, allocations: 187.3 kB / 429.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1427, allocations: 0 / 429.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1427, allocations: 0 / 429.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1427, allocations: 0 / 429.9 MB, free: 1.07 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008774/0.1436, allocations: 496.5 kB / 430.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1436, allocations: 8.031 kB / 430.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.949e-05/0.1437, allocations: 42.73 kB / 430.4 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.1438, allocations: 24.78 kB / 430.4 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.1441, allocations: 212.2 kB / 430.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.1442, allocations: 93.67 kB / 430.7 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.1443, allocations: 16.38 kB / 430.8 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.1446, allocations: 133.5 kB / 430.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.1446, allocations: 4 kB / 430.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.1446, allocations: 0 / 430.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.1447, allocations: 7.984 kB / 430.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.145, allocations: 111.8 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009757/0.146, allocations: 0.515 MB / 431.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.1463, allocations: 106.6 kB / 431.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.1465, allocations: 44.84 kB / 431.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1465, allocations: 0 / 431.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.1466, allocations: 42.5 kB / 431.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.1466, allocations: 0 / 431.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009515/0.1475, allocations: 299.4 kB / 432 MB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.1476, allocations: 55.39 kB / 432.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1477, allocations: 154.3 kB / 432.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.1478, allocations: 29.7 kB / 432.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1479, allocations: 116 kB / 432.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.1479, allocations: 31.73 kB / 432.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.942e-05/0.148, allocations: 33.7 kB / 432.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1481, allocations: 322.8 kB / 432.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.1483, allocations: 55.97 kB / 432.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.1485, allocations: 82.55 kB / 432.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.1489, allocations: 140.2 kB / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1489, allocations: 0 / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006916/0.1495, allocations: 267.9 kB / 433.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.1496, allocations: 37.69 kB / 433.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1496, allocations: 0 / 433.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002804/0.1499, allocations: 76.89 kB / 433.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.15, allocations: 15.98 kB / 433.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.1519, allocations: 1.623 MB / 435 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.1523, allocations: 44.02 kB / 435.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.1523, allocations: 4 kB / 435.1 MB, free: 11.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (dcPowerSupply.cp,dcPowerSupply.cc,dcPowerSupply.cv) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.1524, allocations: 133.7 kB / 435.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.1525, allocations: 19.84 kB / 435.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.1529, allocations: 159.1 kB / 435.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1529, allocations: 4 kB / 435.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.1529, allocations: 0.5625 kB / 435.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1529, allocations: 0 / 435.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.1532, allocations: 229.5 kB / 435.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1532, allocations: 0 / 435.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-05/0.1532, allocations: 8 kB / 435.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/0.1534, allocations: 84.73 kB / 435.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1534, allocations: 3.938 kB / 435.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.1554, allocations: 1.61 MB / 437.3 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1554, allocations: 0 / 437.3 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.1558, allocations: 252.2 kB / 437.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.1559, allocations: 93.08 kB / 437.6 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.1559, allocations: 4 kB / 437.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1561, allocations: 11.98 kB / 437.7 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.1561, allocations: 11.98 kB / 437.7 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.1561, allocations: 0 / 437.7 MB, free: 8.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.354e-05/0.1562, allocations: 118.2 kB / 437.8 MB, free: 8.449 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1562, allocations: 0 / 437.8 MB, free: 8.449 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.1566, allocations: 47.94 kB / 437.8 MB, free: 8.402 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: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000871/0.1574, allocations: 0.7835 MB / 438.6 MB, free: 7.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007/0.1581, allocations: 302 kB / 438.9 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1581, allocations: 0 / 438.9 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.1585, allocations: 178.9 kB / 439.1 MB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1588, allocations: 36.03 kB / 439.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.1618, allocations: 1.962 MB / 441.1 MB, free: 4.977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.1622, allocations: 0.7084 MB / 441.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.033e-05/0.1622, allocations: 8.547 kB / 441.8 MB, free: 4.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.1623, allocations: 31.42 kB / 441.8 MB, free: 4.199 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1623, allocations: 8 kB / 441.8 MB, free: 4.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2588/0.4211, allocations: 4.498 MB / 446.3 MB, free: 24.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.26, allocations: 6.516 kB / 446.3 MB, free: 24.92 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv failed! Error: Could not read variable dcPowerSupply.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv. Warning: Get data of variable dcPowerSupply.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.215075072017498]