Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.00178/0.00178, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 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.002174/0.002174, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 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 1.649/1.649, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.1884/0.1884, allocations: 38.5 MB / 349.4 MB, free: 2.574 MB / 270.1 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.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.91 kB / 487.8 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1249, allocations: 62.42 MB / 0.5374 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.004054/0.1289, allocations: 2.072 MB / 0.5394 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.13, allocations: 0.5572 MB / 0.5399 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.13, allocations: 3.938 kB / 0.5399 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.1302, allocations: 11.92 kB / 0.5399 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.1303, allocations: 27.89 kB / 0.54 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.1307, allocations: 75.75 kB / 0.54 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.1308, allocations: 59.77 kB / 0.5401 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.1309, allocations: 0 / 0.5401 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.131, allocations: 35.84 kB / 0.5401 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.86e-05/0.1311, allocations: 35.89 kB / 0.5402 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.1311, allocations: 3.938 kB / 0.5402 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.1313, allocations: 87.86 kB / 0.5403 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.1314, allocations: 19.92 kB / 0.5403 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.1314, allocations: 19.81 kB / 0.5403 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1316, allocations: 107.8 kB / 0.5404 GB, free: 4.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.1316, allocations: 8 kB / 0.5404 GB, free: 4.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1316, allocations: 0 / 0.5404 GB, free: 4.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1316, allocations: 0 / 0.5404 GB, free: 4.379 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004723/0.1321, allocations: 396.9 kB / 0.5408 GB, free: 3.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1321, allocations: 12.03 kB / 0.5408 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.323e-05/0.1321, allocations: 192 / 0.5408 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.896e-05/0.1322, allocations: 34.73 kB / 0.5408 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.1322, allocations: 12.83 kB / 0.5408 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.1324, allocations: 192.2 kB / 0.541 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1324, allocations: 4.125 kB / 0.541 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1324, allocations: 3.938 kB / 0.541 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.1326, allocations: 57.69 kB / 0.5411 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1326, allocations: 0 / 0.5411 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.1327, allocations: 4 kB / 0.5411 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1327, allocations: 0 / 0.5411 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.945e-05/0.1327, allocations: 31.98 kB / 0.5411 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.1329, allocations: 165.7 kB / 0.5413 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.408e-05/0.133, allocations: 46.5 kB / 0.5413 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.133, allocations: 40.81 kB / 0.5414 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.133, allocations: 0 / 0.5414 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.1331, allocations: 34.56 kB / 0.5414 GB, free: 3.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.1331, allocations: 0 / 0.5414 GB, free: 3.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003237/0.1334, allocations: 179.5 kB / 0.5416 GB, free: 3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.1335, allocations: 89.09 kB / 0.5417 GB, free: 2.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1336, allocations: 122.1 kB / 0.5418 GB, free: 2.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.1336, allocations: 29.7 kB / 0.5418 GB, free: 2.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.1337, allocations: 91.98 kB / 0.5419 GB, free: 2.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.1337, allocations: 43.58 kB / 0.5419 GB, free: 2.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.1338, allocations: 25.75 kB / 0.542 GB, free: 2.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.134, allocations: 318.8 kB / 0.5423 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/0.134, allocations: 35.92 kB / 0.5423 GB, free: 2.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.941e-05/0.134, allocations: 27.98 kB / 0.5423 GB, free: 2.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.1342, allocations: 152.2 kB / 0.5425 GB, free: 2.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.1342, allocations: 3.938 kB / 0.5425 GB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001765/0.1344, allocations: 147.2 kB / 0.5426 GB, free: 1.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.752e-05/0.1344, allocations: 45.69 kB / 0.5426 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1345, allocations: 0 / 0.5426 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1345, allocations: 8.062 kB / 0.5427 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.1345, allocations: 0 / 0.5427 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1345, allocations: 0 / 0.5427 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.1345, allocations: 4 kB / 0.5427 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1345, allocations: 4 kB / 0.5427 GB, free: 1.789 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001523/0.1347, allocations: 179.3 kB / 0.5428 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.1347, allocations: 11.95 kB / 0.5428 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.415e-05/0.1347, allocations: 4.375 kB / 0.5429 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1347, allocations: 0 / 0.5429 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1347, allocations: 4 kB / 0.5429 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1347, allocations: 0 / 0.5429 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.1349, allocations: 185.5 kB / 0.543 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.1349, allocations: 7.922 kB / 0.543 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1349, allocations: 0 / 0.543 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1349, allocations: 4 kB / 0.543 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1349, allocations: 0 / 0.543 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.1349, allocations: 0 / 0.543 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1349, allocations: 0 / 0.543 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.1353, allocations: 286.5 kB / 0.5433 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.1353, allocations: 85.06 kB / 0.5434 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.1353, allocations: 4 kB / 0.5434 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.702e-05/0.1353, allocations: 0 / 0.5434 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.1354, allocations: 4 kB / 0.5434 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1354, allocations: 3.938 kB / 0.5434 GB, free: 0.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.616e-05/0.1354, allocations: 95.81 kB / 0.5435 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1354, allocations: 0 / 0.5435 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1357, allocations: 35.94 kB / 0.5435 GB, free: 0.7891 MB / 398.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0007366/0.1364, allocations: 0.829 MB / 0.5443 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.1367, allocations: 231.2 kB / 0.5446 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1367, allocations: 0 / 0.5446 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.1369, allocations: 159.3 kB / 0.5447 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.1372, allocations: 23.06 kB / 0.5447 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1392, allocations: 1.761 MB / 0.5465 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.1396, allocations: 0.7002 MB / 0.5471 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.589e-05/0.1396, allocations: 0 / 0.5471 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.1397, allocations: 19.44 kB / 0.5472 GB, free: 12.9 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1397, allocations: 0 / 0.5472 GB, free: 12.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.1606, allocations: 2.626 MB / 0.5497 GB, free: 10.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.56/8.72, allocations: 15.12 kB / 0.5497 GB, free: 10.4 MB / 414.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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: 11.865323447971605]