Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.0008421/0.0008421, 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.0008186/0.0008186, 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.9092/0.9092, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2656/0.2656, allocations: 29.41 MB / 290.1 MB, free: 2.453 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.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.567e-05, allocations: 2.844 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.00431/0.004326, allocations: 4.458 MB / 434.7 MB, free: 9.113 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.006196, allocations: 1.425 MB / 436.1 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.006388, allocations: 15.88 kB / 436.1 MB, free: 7.668 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006803/0.007069, allocations: 378.3 kB / 436.5 MB, free: 7.297 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000401/0.00747, allocations: 242.5 kB / 436.7 MB, free: 7.059 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.008027, allocations: 271.1 kB / 437 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.008496, allocations: 0.5727 MB / 437.6 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/0.008836, allocations: 242.8 kB / 437.8 MB, free: 5.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003967/0.009233, allocations: 358.9 kB / 438.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.009543, allocations: 295.2 kB / 438.4 MB, free: 5.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.009583, allocations: 39.94 kB / 438.5 MB, free: 5.301 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.009818, allocations: 155.7 kB / 438.6 MB, free: 5.148 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.009977, allocations: 235.4 kB / 438.9 MB, free: 4.918 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.01011, allocations: 171.6 kB / 439 MB, free: 4.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.01058, allocations: 0.6114 MB / 439.6 MB, free: 4.137 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.01058, allocations: 0 / 439.6 MB, free: 4.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01058, allocations: 0 / 439.6 MB, free: 4.137 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.01059, allocations: 4 kB / 439.6 MB, free: 4.133 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0008605/0.01145, allocations: 0.7017 MB / 440.3 MB, free: 3.398 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.01148, allocations: 11.98 kB / 440.4 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.642e-05/0.01155, allocations: 86.7 kB / 440.4 MB, free: 3.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004141/0.01196, allocations: 128.5 kB / 440.6 MB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.01243, allocations: 351.9 kB / 440.9 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.01246, allocations: 37.38 kB / 440.9 MB, free: 2.754 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.01256, allocations: 56.62 kB / 441 MB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006195/0.01318, allocations: 0.6527 MB / 441.6 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.0132, allocations: 0 / 441.6 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.01323, allocations: 16 kB / 441.7 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.338e-05/0.01329, allocations: 32.92 kB / 441.7 MB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/0.01381, allocations: 483.4 kB / 442.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1636/0.1774, allocations: 2.844 MB / 445 MB, free: 52.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1776, allocations: 171.6 kB / 445.2 MB, free: 52.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1777, allocations: 104.5 kB / 445.3 MB, free: 52.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.1778, allocations: 3.156 kB / 445.3 MB, free: 52.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1778, allocations: 33.84 kB / 445.3 MB, free: 52.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.265e-06/0.1778, allocations: 0.7188 kB / 445.3 MB, free: 52.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.001046/0.1788, allocations: 0.7735 MB / 446.1 MB, free: 52.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.1789, allocations: 80.33 kB / 446.2 MB, free: 52.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.1791, allocations: 362.5 kB / 446.5 MB, free: 52.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1791, allocations: 29.7 kB / 446.6 MB, free: 52.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1792, allocations: 311.1 kB / 446.9 MB, free: 51.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.1792, allocations: 81.5 kB / 446.9 MB, free: 51.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.489e-05/0.1793, allocations: 87.5 kB / 447 MB, free: 51.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.1794, allocations: 344.8 kB / 447.4 MB, free: 51.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.1795, allocations: 128.8 kB / 447.5 MB, free: 51.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.1796, allocations: 334.2 kB / 447.8 MB, free: 51.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.18, allocations: 498.9 kB / 448.3 MB, free: 50.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.18, allocations: 3.156 kB / 448.3 MB, free: 50.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005875/0.1806, allocations: 0.566 MB / 448.9 MB, free: 50.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1806, allocations: 6.406 kB / 448.9 MB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002967/0.1809, allocations: 265.5 kB / 449.1 MB, free: 50.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.1811, allocations: 82.88 kB / 449.2 MB, free: 50.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.1813, allocations: 102.9 kB / 449.3 MB, free: 50.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009043/0.1822, allocations: 1.61 MB / 450.9 MB, free: 48.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.1823, allocations: 20.88 kB / 450.9 MB, free: 48.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1823, allocations: 25.7 kB / 451 MB, free: 48.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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.0001618/0.1825, allocations: 223.6 kB / 451.2 MB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.1825, allocations: 32.5 kB / 451.2 MB, free: 48.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.1828, allocations: 292.3 kB / 451.5 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1828, allocations: 3.25 kB / 451.5 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1828, allocations: 3.469 kB / 451.5 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1828, allocations: 3.562 kB / 451.5 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000641/0.1835, allocations: 0.7418 MB / 452.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.1835, allocations: 3.375 kB / 452.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.1836, allocations: 52.25 kB / 452.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1836, allocations: 3.125 kB / 452.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1836, allocations: 7.25 kB / 452.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1837, allocations: 5.688 kB / 452.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1837, allocations: 3.375 kB / 452.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.184, allocations: 479.8 kB / 452.8 MB, free: 47.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.184, allocations: 31.38 kB / 452.8 MB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.184, allocations: 11.48 kB / 452.8 MB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.1841, allocations: 8.219 kB / 452.9 MB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.1841, allocations: 19.83 kB / 452.9 MB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.1841, allocations: 16.8 kB / 452.9 MB, free: 47.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1842, allocations: 230.5 kB / 453.1 MB, free: 47.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1842, allocations: 0 / 453.1 MB, free: 47.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002889/0.1845, allocations: 96.06 kB / 453.2 MB, free: 47.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * 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.0004195/0.185, allocations: 1.002 MB / 454.2 MB, free: 46.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.1854, allocations: 444.3 kB / 454.6 MB, free: 46.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1854, allocations: 0.6562 kB / 454.6 MB, free: 46.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.337e-05/0.1855, allocations: 108.3 kB / 454.7 MB, free: 46.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.1858, allocations: 67.48 kB / 454.8 MB, free: 46.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.1884, allocations: 3.91 MB / 458.7 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.1885, allocations: 265.8 kB / 459 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.1887, allocations: 109.6 kB / 459.1 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.1888, allocations: 156.5 kB / 459.2 MB, free: 43.88 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1888, allocations: 0 / 459.2 MB, free: 43.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.2087, allocations: 8.261 MB / 467.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.238, allocations: 3.438 kB / 467.5 MB, free: 42.47 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.261316082440317]