Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.0007833/0.0007833, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001062/0.001062, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9517/0.9517, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2339/0.2339, allocations: 29.4 MB / 290.1 MB, free: 2.457 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.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.087e-05, allocations: 8.047 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004767/0.004787, allocations: 4.576 MB / 434.8 MB, free: 8.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.00638, allocations: 1.281 MB / 436.1 MB, free: 7.695 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.006548, allocations: 23.81 kB / 436.1 MB, free: 7.672 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008248/0.007373, allocations: 402.1 kB / 436.5 MB, free: 7.277 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.007804, allocations: 238.6 kB / 436.7 MB, free: 7.043 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.008209, allocations: 191.3 kB / 436.9 MB, free: 6.855 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.008663, allocations: 0.5605 MB / 437.5 MB, free: 6.293 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003969/0.00906, allocations: 258.2 kB / 437.7 MB, free: 6.035 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.00944, allocations: 354.9 kB / 438.1 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.009722, allocations: 255.2 kB / 438.3 MB, free: 5.438 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.009758, allocations: 36 kB / 438.4 MB, free: 5.402 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.009976, allocations: 127.7 kB / 438.5 MB, free: 5.277 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.01011, allocations: 199.5 kB / 438.7 MB, free: 5.082 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.01023, allocations: 151.6 kB / 438.8 MB, free: 4.934 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.01067, allocations: 0.5334 MB / 439.4 MB, free: 4.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01068, allocations: 0 / 439.4 MB, free: 4.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01068, allocations: 0 / 439.4 MB, free: 4.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.01068, allocations: 0 / 439.4 MB, free: 4.398 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008293/0.01151, allocations: 0.6505 MB / 440 MB, free: 3.715 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.01156, allocations: 11.98 kB / 440 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.434e-05/0.01162, allocations: 70.72 kB / 440.1 MB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004421/0.01206, allocations: 96.55 kB / 440.2 MB, free: 3.531 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/0.01279, allocations: 355.9 kB / 440.5 MB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.01281, allocations: 25.38 kB / 440.6 MB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.01293, allocations: 48.69 kB / 440.6 MB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.01341, allocations: 480.7 kB / 441.1 MB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.01343, allocations: 4 kB / 441.1 MB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.01345, allocations: 12 kB / 441.1 MB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.248e-05/0.01352, allocations: 24.98 kB / 441.1 MB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.01387, allocations: 351.7 kB / 441.5 MB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.01523, allocations: 1.475 MB / 442.9 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.01548, allocations: 169.1 kB / 443.1 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.01558, allocations: 105.7 kB / 443.2 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.0156, allocations: 3.984 kB / 443.2 MB, free: 360 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.01562, allocations: 38.56 kB / 443.2 MB, free: 312 kB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.794e-06/0.01563, allocations: 0 / 443.2 MB, free: 312 kB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.2044/0.2201, allocations: 0.7098 MB / 443.9 MB, free: 54.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.2201, allocations: 87.53 kB / 444 MB, free: 54.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.2204, allocations: 318 kB / 444.3 MB, free: 54.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.2204, allocations: 28.7 kB / 444.4 MB, free: 54.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2205, allocations: 257 kB / 444.6 MB, free: 54.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.2206, allocations: 70.38 kB / 444.7 MB, free: 54.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-05/0.2206, allocations: 63.7 kB / 444.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.2207, allocations: 344.9 kB / 445.1 MB, free: 53.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.2208, allocations: 98.2 kB / 445.2 MB, free: 53.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.2209, allocations: 193 kB / 445.4 MB, free: 53.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.2212, allocations: 335 kB / 445.7 MB, free: 53.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2212, allocations: 3.562 kB / 445.7 MB, free: 53.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004705/0.2216, allocations: 425 kB / 446.1 MB, free: 53.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2217, allocations: 7.75 kB / 446.1 MB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000274/0.2219, allocations: 269 kB / 446.4 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/0.2221, allocations: 74.97 kB / 446.5 MB, free: 53.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.2223, allocations: 64.91 kB / 446.5 MB, free: 53.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008117/0.2231, allocations: 1.602 MB / 448.1 MB, free: 51.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.2232, allocations: 11 kB / 448.1 MB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.2232, allocations: 19.72 kB / 448.2 MB, free: 51.79 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 (34): * Single equations (assignments): 33 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.2234, allocations: 187.8 kB / 448.3 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.2234, allocations: 34.97 kB / 448.4 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.2236, allocations: 278.3 kB / 448.6 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2236, allocations: 3.25 kB / 448.7 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.2236, allocations: 0 / 448.7 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.2236, allocations: 0 / 448.7 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005875/0.2242, allocations: 0.6997 MB / 449.4 MB, free: 51.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2242, allocations: 3.094 kB / 449.4 MB, free: 51.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.2243, allocations: 52.78 kB / 449.4 MB, free: 51.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2244, allocations: 5.719 kB / 449.4 MB, free: 51.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.2244, allocations: 7.5 kB / 449.4 MB, free: 51.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2244, allocations: 3.938 kB / 449.4 MB, free: 51.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2244, allocations: 3.406 kB / 449.4 MB, free: 51.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.2247, allocations: 456.1 kB / 449.9 MB, free: 50.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.2247, allocations: 29.23 kB / 449.9 MB, free: 50.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.2247, allocations: 10.94 kB / 449.9 MB, free: 50.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.2248, allocations: 6.625 kB / 449.9 MB, free: 50.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.2248, allocations: 17.31 kB / 449.9 MB, free: 50.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.2248, allocations: 6 kB / 449.9 MB, free: 50.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.2249, allocations: 222.1 kB / 450.2 MB, free: 50.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2249, allocations: 0 / 450.2 MB, free: 50.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.2252, allocations: 85.41 kB / 450.2 MB, free: 50.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * 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.0004246/0.2256, allocations: 0.9861 MB / 451.2 MB, free: 49.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004104/0.226, allocations: 362 kB / 451.6 MB, free: 49.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.226, allocations: 0 / 451.6 MB, free: 49.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.2261, allocations: 100.5 kB / 451.7 MB, free: 49.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.2264, allocations: 69.8 kB / 451.7 MB, free: 49.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.2289, allocations: 3.473 MB / 455.2 MB, free: 47.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.229, allocations: 246.8 kB / 455.5 MB, free: 47.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.2291, allocations: 70.42 kB / 455.5 MB, free: 47.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2293, allocations: 141.4 kB / 455.7 MB, free: 47.16 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.2293, allocations: 4.656 kB / 455.7 MB, free: 47.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.2501, allocations: 8.098 MB / 463.8 MB, free: 45.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.363, allocations: 0 / 463.8 MB, free: 45.72 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv failed! Error: Could not read variable sensor.p[1] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv. Warning: Get data of variable sensor.p[1] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv failed! Error: Could not read variable sensor.p[2] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv. Warning: Get data of variable sensor.p[2] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv failed! Error: Could not read variable sensor.p[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv. Warning: Get data of variable sensor.p[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.470510578714311]