Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.000817/0.000817, 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.0008037/0.0008037, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9265/0.9265, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2422/0.2422, allocations: 29.41 MB / 290.1 MB, free: 2.449 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.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.759e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004311/0.004329, allocations: 4.439 MB / 434.7 MB, free: 9.152 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.00669, allocations: 1.495 MB / 436.1 MB, free: 7.652 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/0.007132, allocations: 19.81 kB / 436.2 MB, free: 7.633 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.008358, allocations: 290.5 kB / 436.5 MB, free: 7.348 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005945/0.008952, allocations: 294.3 kB / 436.7 MB, free: 7.059 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.009626, allocations: 267.2 kB / 437 MB, free: 6.797 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000623/0.01025, allocations: 0.6194 MB / 437.6 MB, free: 6.176 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.01058, allocations: 216.5 kB / 437.8 MB, free: 5.957 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000447/0.01103, allocations: 378.9 kB / 438.2 MB, free: 5.586 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.01136, allocations: 307.2 kB / 438.5 MB, free: 5.285 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.0114, allocations: 32 kB / 438.5 MB, free: 5.254 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.01164, allocations: 151.7 kB / 438.7 MB, free: 5.105 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.01184, allocations: 231.4 kB / 438.9 MB, free: 4.879 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.01197, allocations: 171.6 kB / 439.1 MB, free: 4.711 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.01259, allocations: 0.6191 MB / 439.7 MB, free: 4.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01259, allocations: 4 kB / 439.7 MB, free: 4.086 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01259, allocations: 0 / 439.7 MB, free: 4.086 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.0126, allocations: 0 / 439.7 MB, free: 4.086 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0009113/0.01351, allocations: 0.7016 MB / 440.4 MB, free: 3.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.01355, allocations: 15.98 kB / 440.4 MB, free: 3.336 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/0.01361, allocations: 82.7 kB / 440.5 MB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004282/0.01404, allocations: 132.5 kB / 440.6 MB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.01449, allocations: 355.9 kB / 441 MB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.01452, allocations: 29.38 kB / 441 MB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-05/0.01461, allocations: 52.69 kB / 441.1 MB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007901/0.0154, allocations: 0.6677 MB / 441.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.01542, allocations: 3.938 kB / 441.7 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.01545, allocations: 16 kB / 441.7 MB, free: 1.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.035e-05/0.01554, allocations: 48.97 kB / 441.8 MB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005321/0.01607, allocations: 495.5 kB / 442.3 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1863/0.2023, allocations: 2.964 MB / 445.2 MB, free: 52.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.2027, allocations: 238.4 kB / 445.5 MB, free: 52.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.2028, allocations: 114.7 kB / 445.6 MB, free: 52.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.2028, allocations: 3.156 kB / 445.6 MB, free: 52.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.2029, allocations: 44.02 kB / 445.6 MB, free: 52.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.234e-06/0.2029, allocations: 0 / 445.6 MB, free: 52.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.001007/0.2039, allocations: 0.8306 MB / 446.5 MB, free: 52.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.2039, allocations: 80.36 kB / 446.5 MB, free: 52.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.2041, allocations: 340.2 kB / 446.9 MB, free: 51.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.2041, allocations: 29.7 kB / 446.9 MB, free: 51.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.2042, allocations: 295.7 kB / 447.2 MB, free: 51.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.2042, allocations: 94.81 kB / 447.3 MB, free: 51.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.2043, allocations: 83.56 kB / 447.4 MB, free: 51.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.127e-05/0.2043, allocations: 350.5 kB / 447.7 MB, free: 51.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.2044, allocations: 135.5 kB / 447.8 MB, free: 51.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.2046, allocations: 321.5 kB / 448.1 MB, free: 50.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.2049, allocations: 0.4908 MB / 448.6 MB, free: 50.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2049, allocations: 0 / 448.6 MB, free: 50.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005998/0.2055, allocations: 0.6041 MB / 449.2 MB, free: 50.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2056, allocations: 8.906 kB / 449.3 MB, free: 50.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003262/0.2059, allocations: 327.6 kB / 449.6 MB, free: 50.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.2061, allocations: 112.8 kB / 449.7 MB, free: 50.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.2063, allocations: 91.25 kB / 449.8 MB, free: 50.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.2075, allocations: 3.06 MB / 452.8 MB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.2077, allocations: 17.62 kB / 452.8 MB, free: 47.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.2077, allocations: 17.62 kB / 452.9 MB, free: 47.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.2078, allocations: 214 kB / 453.1 MB, free: 47.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.2079, allocations: 38.88 kB / 453.1 MB, free: 47.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.2081, allocations: 317.9 kB / 453.4 MB, free: 47.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2081, allocations: 3.094 kB / 453.4 MB, free: 47.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.2081, allocations: 2.688 kB / 453.4 MB, free: 47.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2082, allocations: 8.344 kB / 453.4 MB, free: 47.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.2087, allocations: 0.7477 MB / 454.2 MB, free: 46.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.2087, allocations: 0 / 454.2 MB, free: 46.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.2089, allocations: 66.84 kB / 454.2 MB, free: 46.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2089, allocations: 7.156 kB / 454.3 MB, free: 46.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.2089, allocations: 7.219 kB / 454.3 MB, free: 46.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2089, allocations: 0 / 454.3 MB, free: 46.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2089, allocations: 9.609 kB / 454.3 MB, free: 46.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.2093, allocations: 0.5091 MB / 454.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.2093, allocations: 52.38 kB / 454.8 MB, free: 46.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.2094, allocations: 13.59 kB / 454.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.2094, allocations: 10.62 kB / 454.9 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.2095, allocations: 17.3 kB / 454.9 MB, free: 46.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.2095, allocations: 6.188 kB / 454.9 MB, free: 46.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.2096, allocations: 222.6 kB / 455.1 MB, free: 46.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2096, allocations: 3.125 kB / 455.1 MB, free: 46.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002967/0.2099, allocations: 99.5 kB / 455.2 MB, free: 46.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.0004769/0.2104, allocations: 1.047 MB / 456.2 MB, free: 45.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005351/0.2109, allocations: 0.5609 MB / 456.8 MB, free: 45.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2109, allocations: 4 kB / 456.8 MB, free: 45.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.211, allocations: 121.1 kB / 456.9 MB, free: 44.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.2114, allocations: 63.17 kB / 457 MB, free: 44.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.2141, allocations: 3.992 MB / 461 MB, free: 42.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.2142, allocations: 263 kB / 461.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.2144, allocations: 114.8 kB / 461.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.2145, allocations: 146.9 kB / 461.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2145, allocations: 0 / 461.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.2364, allocations: 8.519 MB / 470 MB, free: 40.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/7.231, allocations: 16.14 kB / 470 MB, free: 40.68 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.228956057690084]