Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001794/0.001794, 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.002699/0.002699, 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.578/1.578, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.1941/0.1941, allocations: 38.5 MB / 349.4 MB, free: 2.684 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.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.002011/0.002011, allocations: 59.91 kB / 487.8 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.122, allocations: 62.43 MB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005408/0.1274, allocations: 3.463 MB / 0.5407 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.1298, allocations: 1.5 MB / 0.5422 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1299, allocations: 7.938 kB / 0.5422 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008883/0.1308, allocations: 266.9 kB / 0.5425 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007021/0.1315, allocations: 278.9 kB / 0.5427 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.1319, allocations: 111.7 kB / 0.5428 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004862/0.1324, allocations: 335.1 kB / 0.5432 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/0.1327, allocations: 113.7 kB / 0.5433 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.133, allocations: 171.3 kB / 0.5434 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.1332, allocations: 151.5 kB / 0.5436 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.1333, allocations: 16 kB / 0.5436 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/0.1338, allocations: 323.2 kB / 0.5439 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1339, allocations: 99.7 kB / 0.544 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.134, allocations: 107.4 kB / 0.5441 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005221/0.1346, allocations: 346.8 kB / 0.5444 GB, free: 304 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1346, allocations: 0 / 0.5444 GB, free: 304 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1346, allocations: 4 kB / 0.5444 GB, free: 300 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1346, allocations: 0 / 0.5444 GB, free: 300 kB / 398.1 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.0007976/0.1354, allocations: 0.5176 MB / 0.5449 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1354, allocations: 8.031 kB / 0.5449 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.694e-05/0.1355, allocations: 12.19 kB / 0.545 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.1355, allocations: 50.73 kB / 0.545 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008876/0.1364, allocations: 92.69 kB / 0.5451 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1368, allocations: 264.6 kB / 0.5453 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.1368, allocations: 28.09 kB / 0.5454 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/0.1369, allocations: 19.95 kB / 0.5454 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.1374, allocations: 318.2 kB / 0.5457 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1374, allocations: 0 / 0.5457 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.1374, allocations: 8 kB / 0.5457 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.1375, allocations: 16 kB / 0.5457 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.138, allocations: 291.6 kB / 0.546 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.1398, allocations: 1.293 MB / 0.5473 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/0.1405, allocations: 205.1 kB / 0.5475 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1406, allocations: 49.77 kB / 0.5475 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.1406, allocations: 7.984 kB / 0.5475 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.1406, allocations: 34.56 kB / 0.5475 GB, free: 12.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 3.396e-06/0.1406, allocations: 4 kB / 0.5475 GB, free: 12.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001075/0.1417, allocations: 442.8 kB / 0.548 GB, free: 12.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.1418, allocations: 81.11 kB / 0.548 GB, free: 12.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.142, allocations: 198.2 kB / 0.5482 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.142, allocations: 25.7 kB / 0.5483 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1421, allocations: 164.1 kB / 0.5484 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.1422, allocations: 51.7 kB / 0.5485 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/0.1423, allocations: 49.66 kB / 0.5485 GB, free: 11.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1424, allocations: 330.8 kB / 0.5488 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.41e-05/0.1425, allocations: 47.97 kB / 0.5489 GB, free: 11.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.1427, allocations: 165.3 kB / 0.549 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.143, allocations: 225.3 kB / 0.5492 GB, free: 10.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.143, allocations: 0 / 0.5492 GB, free: 10.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000498/0.1435, allocations: 270.3 kB / 0.5495 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1435, allocations: 12.06 kB / 0.5495 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1435, allocations: 0 / 0.5495 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000254/0.1438, allocations: 40.83 kB / 0.5496 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.1439, allocations: 39.92 kB / 0.5496 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.1453, allocations: 1.445 MB / 0.551 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.1454, allocations: 8.062 kB / 0.551 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.1455, allocations: 16.02 kB / 0.551 GB, free: 8.961 MB / 414.1 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 (24): * Single equations (assignments): 23 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.1456, allocations: 161.8 kB / 0.5512 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.1457, allocations: 19.84 kB / 0.5512 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.1461, allocations: 191.9 kB / 0.5514 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1461, allocations: 0 / 0.5514 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1461, allocations: 0 / 0.5514 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1461, allocations: 4 kB / 0.5514 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009271/0.1471, allocations: 0.5601 MB / 0.5519 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1471, allocations: 0 / 0.5519 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1472, allocations: 27.92 kB / 0.552 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001542/0.1473, allocations: 32.77 kB / 0.552 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1473, allocations: 8.094 kB / 0.552 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.1487, allocations: 1.418 MB / 0.5534 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1487, allocations: 0 / 0.5534 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.1492, allocations: 311.6 kB / 0.5537 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.1493, allocations: 89.02 kB / 0.5538 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.1493, allocations: 8 kB / 0.5538 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1494, allocations: 4 kB / 0.5538 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.1495, allocations: 11.92 kB / 0.5538 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.1495, allocations: 11.98 kB / 0.5538 GB, free: 5.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.1496, allocations: 144.3 kB / 0.5539 GB, free: 5.691 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1496, allocations: 4 kB / 0.5539 GB, free: 5.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004091/0.15, allocations: 48 kB / 0.554 GB, free: 5.641 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008156/0.1509, allocations: 0.8401 MB / 0.5548 GB, free: 4.758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005959/0.1514, allocations: 255.2 kB / 0.555 GB, free: 4.496 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1515, allocations: 4 kB / 0.5551 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.1517, allocations: 178.7 kB / 0.5552 GB, free: 4.305 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.1521, allocations: 30.56 kB / 0.5553 GB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.1552, allocations: 2.39 MB / 0.5576 GB, free: 1.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/0.1559, allocations: 0.7632 MB / 0.5583 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.156, allocations: 37.52 kB / 0.5584 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.1562, allocations: 63.36 kB / 0.5584 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1562, allocations: 0 / 0.5584 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.1824, allocations: 3.975 MB / 0.5623 GB, free: 12.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.55, allocations: 11.77 kB / 0.5623 GB, free: 12.95 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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: 13.782346202002373]