Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.001873/0.001873, allocations: 113 kB / 18.49 MB, free: 4.539 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.002474/0.002474, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.543/1.543, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2004/0.2004, allocations: 38.5 MB / 349.4 MB, free: 2.613 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_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.002045/0.002045, allocations: 63.91 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1341, allocations: 62.42 MB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003577/0.1376, allocations: 2.068 MB / 0.5394 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009191/0.1386, allocations: 0.5649 MB / 0.5399 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.1386, allocations: 4 kB / 0.5399 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.1387, allocations: 11.92 kB / 0.54 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.671e-05/0.1388, allocations: 27.84 kB / 0.54 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1392, allocations: 63.84 kB / 0.54 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1393, allocations: 59.7 kB / 0.5401 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.1393, allocations: 4 kB / 0.5401 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1395, allocations: 43.83 kB / 0.5401 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.568e-05/0.1395, allocations: 23.91 kB / 0.5402 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1396, allocations: 0 / 0.5402 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.1398, allocations: 95.78 kB / 0.5403 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/0.1398, allocations: 43.86 kB / 0.5403 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.1399, allocations: 43.55 kB / 0.5403 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.1401, allocations: 155.5 kB / 0.5405 GB, free: 4.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1401, allocations: 3.938 kB / 0.5405 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.1401, allocations: 4 kB / 0.5405 GB, free: 4.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1401, allocations: 0 / 0.5405 GB, free: 4.34 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005188/0.1406, allocations: 480.3 kB / 0.541 GB, free: 3.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1407, allocations: 12.03 kB / 0.541 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.233e-05/0.1407, allocations: 192 / 0.541 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.1407, allocations: 50.67 kB / 0.541 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.1408, allocations: 20.73 kB / 0.541 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.141, allocations: 207 kB / 0.5412 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.259e-06/0.141, allocations: 0 / 0.5412 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.141, allocations: 0 / 0.5412 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1412, allocations: 126.6 kB / 0.5414 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1412, allocations: 4 kB / 0.5414 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1412, allocations: 4 kB / 0.5414 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1412, allocations: 0 / 0.5414 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1413, allocations: 92.3 kB / 0.5414 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.1415, allocations: 206 kB / 0.5416 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1417, allocations: 110.8 kB / 0.5418 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1418, allocations: 97.19 kB / 0.5418 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.1418, allocations: 4 kB / 0.5418 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1418, allocations: 30.56 kB / 0.5419 GB, free: 2.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.102e-06/0.1418, allocations: 0 / 0.5419 GB, free: 2.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.000642/0.1424, allocations: 480 kB / 0.5423 GB, free: 2.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.1425, allocations: 105.1 kB / 0.5424 GB, free: 2.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1427, allocations: 150.4 kB / 0.5426 GB, free: 1.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1427, allocations: 25.7 kB / 0.5426 GB, free: 1.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.1427, allocations: 92.8 kB / 0.5427 GB, free: 1.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.1429, allocations: 146.7 kB / 0.5428 GB, free: 1.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.1429, allocations: 37.69 kB / 0.5429 GB, free: 1.676 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1431, allocations: 334.8 kB / 0.5432 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1432, allocations: 91.97 kB / 0.5433 GB, free: 1.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.53e-05/0.1433, allocations: 96.94 kB / 0.5434 GB, free: 1.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.1436, allocations: 360.4 kB / 0.5437 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1436, allocations: 0 / 0.5437 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005229/0.1441, allocations: 323.1 kB / 0.544 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.1443, allocations: 85.62 kB / 0.5441 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1443, allocations: 8.047 kB / 0.5441 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1443, allocations: 7.938 kB / 0.5441 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.1443, allocations: 0 / 0.5441 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1443, allocations: 0 / 0.5441 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.1443, allocations: 23.84 kB / 0.5441 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.1444, allocations: 11.94 kB / 0.5441 GB, free: 328 kB / 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.0003174/0.1447, allocations: 227.4 kB / 0.5444 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.1448, allocations: 23.86 kB / 0.5444 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.1449, allocations: 17.95 kB / 0.5444 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1449, allocations: 4 kB / 0.5444 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1449, allocations: 0 / 0.5444 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1449, allocations: 0 / 0.5444 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.1451, allocations: 233.3 kB / 0.5446 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1451, allocations: 3.938 kB / 0.5446 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1451, allocations: 0 / 0.5446 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1452, allocations: 0 / 0.5446 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.1452, allocations: 8 kB / 0.5446 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1452, allocations: 0 / 0.5446 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1452, allocations: 0 / 0.5446 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.1463, allocations: 0.9082 MB / 0.5455 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.1464, allocations: 100.9 kB / 0.5456 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.1465, allocations: 8 kB / 0.5456 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.434e-05/0.1466, allocations: 4 kB / 0.5456 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.1466, allocations: 4 kB / 0.5456 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1466, allocations: 4 kB / 0.5456 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.525e-05/0.1467, allocations: 126.2 kB / 0.5458 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1467, allocations: 0 / 0.5458 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004644/0.1472, allocations: 67.91 kB / 0.5458 GB, free: 14.48 MB / 414.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.001562/0.1487, allocations: 1.461 MB / 0.5473 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.1498, allocations: 0.8192 MB / 0.5481 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1498, allocations: 0 / 0.5481 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007625/0.1506, allocations: 0.6007 MB / 0.5486 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.1508, allocations: 34.88 kB / 0.5487 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.155, allocations: 3.461 MB / 0.5521 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.1555, allocations: 0.7516 MB / 0.5528 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.649e-05/0.1555, allocations: 0 / 0.5528 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.1555, allocations: 43.42 kB / 0.5528 GB, free: 7.137 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1555, allocations: 0 / 0.5528 GB, free: 7.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.1872, allocations: 4.918 MB / 0.5576 GB, free: 2.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.586/8.773, allocations: 12.05 kB / 0.5576 GB, free: 2.352 MB / 414.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.813946145994123]