Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00079/0.00079, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008485/0.0008485, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8607/0.8607, allocations: 177.2 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2301/0.2301, allocations: 29.41 MB / 290.1 MB, free: 2.461 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.799e-05, allocations: 10.28 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004705/0.004723, allocations: 3.852 MB / 434.1 MB, free: 9.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.00569, allocations: 0.857 MB / 434.9 MB, free: 8.871 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.005819, allocations: 19.81 kB / 434.9 MB, free: 8.852 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.005961, allocations: 43.62 kB / 435 MB, free: 8.809 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.006344, allocations: 174.8 kB / 435.2 MB, free: 8.637 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.006487, allocations: 83.75 kB / 435.2 MB, free: 8.555 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.006765, allocations: 394.5 kB / 435.6 MB, free: 8.168 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.006906, allocations: 56.67 kB / 435.7 MB, free: 8.109 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.007182, allocations: 227.3 kB / 435.9 MB, free: 7.887 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.00737, allocations: 147.6 kB / 436 MB, free: 7.742 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.007396, allocations: 27.92 kB / 436.1 MB, free: 7.715 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.535e-05/0.007421, allocations: 16 kB / 436.1 MB, free: 7.699 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.007488, allocations: 83.73 kB / 436.2 MB, free: 7.617 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.189e-05/0.00756, allocations: 87.83 kB / 436.3 MB, free: 7.531 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.007769, allocations: 247.1 kB / 436.5 MB, free: 7.289 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.007771, allocations: 0 / 436.5 MB, free: 7.289 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007773, allocations: 0 / 436.5 MB, free: 7.289 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.007777, allocations: 0 / 436.5 MB, free: 7.289 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005815/0.008358, allocations: 0.4983 MB / 437 MB, free: 6.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.00839, allocations: 11.98 kB / 437 MB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.00843, allocations: 54.73 kB / 437.1 MB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.008469, allocations: 36.75 kB / 437.1 MB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.00876, allocations: 260.2 kB / 437.4 MB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.008775, allocations: 20.81 kB / 437.4 MB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.008802, allocations: 24.12 kB / 437.4 MB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.009054, allocations: 270.7 kB / 437.7 MB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.009062, allocations: 3.938 kB / 437.7 MB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.009076, allocations: 8 kB / 437.7 MB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.009083, allocations: 8 kB / 437.7 MB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.009249, allocations: 155.8 kB / 437.8 MB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000767/0.01002, allocations: 1.098 MB / 438.9 MB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.806e-05/0.01011, allocations: 73.11 kB / 439 MB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/0.01015, allocations: 33.81 kB / 439 MB, free: 4.547 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.01016, allocations: 0 / 439 MB, free: 4.547 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.01018, allocations: 34.56 kB / 439.1 MB, free: 4.504 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.01018, allocations: 0 / 439.1 MB, free: 4.504 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004634/0.01064, allocations: 352.5 kB / 439.4 MB, free: 4.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.01068, allocations: 81.11 kB / 439.5 MB, free: 4.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.01083, allocations: 249.8 kB / 439.7 MB, free: 3.773 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.01084, allocations: 25.7 kB / 439.8 MB, free: 3.742 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.01093, allocations: 191.9 kB / 440 MB, free: 3.551 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.01095, allocations: 27.75 kB / 440 MB, free: 3.523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.01099, allocations: 41.7 kB / 440 MB, free: 3.477 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.616e-05/0.01106, allocations: 334.8 kB / 440.3 MB, free: 3.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.01109, allocations: 27.98 kB / 440.4 MB, free: 3.113 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-05/0.01116, allocations: 127 kB / 440.5 MB, free: 2.949 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.01128, allocations: 176.7 kB / 440.7 MB, free: 2.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01128, allocations: 0 / 440.7 MB, free: 2.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001662/0.01145, allocations: 181.2 kB / 440.8 MB, free: 2.547 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.01146, allocations: 8.438 kB / 440.9 MB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01147, allocations: 8.156 kB / 440.9 MB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01148, allocations: 4 kB / 440.9 MB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.644e-05/0.01158, allocations: 47.8 kB / 440.9 MB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01158, allocations: 11.97 kB / 440.9 MB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.01164, allocations: 8 kB / 440.9 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.01165, allocations: 8 kB / 440.9 MB, free: 2.453 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.842e-05/0.01174, allocations: 149.7 kB / 441.1 MB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.01176, allocations: 23.86 kB / 441.1 MB, free: 2.273 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.01187, allocations: 91.39 kB / 441.2 MB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.01188, allocations: 7.984 kB / 441.2 MB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01188, allocations: 7.938 kB / 441.2 MB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01188, allocations: 0 / 441.2 MB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.01217, allocations: 390.4 kB / 441.6 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01217, allocations: 0 / 441.6 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.01222, allocations: 12 kB / 441.6 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01223, allocations: 7.938 kB / 441.6 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.01223, allocations: 0 / 441.6 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01223, allocations: 0 / 441.6 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.01224, allocations: 4 kB / 441.6 MB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.0124, allocations: 225 kB / 441.8 MB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.01242, allocations: 27.89 kB / 441.9 MB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.01244, allocations: 4 kB / 441.9 MB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.395e-05/0.01248, allocations: 4 kB / 441.9 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.0125, allocations: 7.984 kB / 441.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.0125, allocations: 3.938 kB / 441.9 MB, free: 1.414 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.484e-05/0.0126, allocations: 169.2 kB / 442.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0126, allocations: 0 / 442.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.01279, allocations: 40 kB / 442.1 MB, free: 1.211 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003277/0.01312, allocations: 0.761 MB / 442.9 MB, free: 428 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.01324, allocations: 91.78 kB / 442.9 MB, free: 336 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01324, allocations: 0 / 442.9 MB, free: 336 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.01328, allocations: 27.92 kB / 443 MB, free: 308 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.01357, allocations: 59.5 kB / 443 MB, free: 256 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1372/0.1508, allocations: 2.249 MB / 445.3 MB, free: 52.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.548e-05/0.1509, allocations: 153 kB / 445.4 MB, free: 52.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.41e-05/0.151, allocations: 27.69 kB / 445.5 MB, free: 52.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/0.151, allocations: 73.17 kB / 445.5 MB, free: 52.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.151, allocations: 0 / 445.5 MB, free: 52.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.1673, allocations: 4.986 MB / 450.5 MB, free: 51.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.116/7.283, allocations: 6.422 kB / 450.5 MB, free: 51.64 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00027027 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Source.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv failed! Error: Could not read variable meter.i in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv. Warning: Get data of variable meter.i from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv failed! Error: Could not read variable meter.p in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv. Warning: Get data of variable meter.p from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv failed! Error: Could not read variable meter.v in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv. Warning: Get data of variable meter.v from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.211535152979195]