Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.0009498/0.0009498, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009005/0.0009005, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8996/0.8996, allocations: 177.1 MB / 204.2 MB, free: 5.746 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.2252/0.2252, 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.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.092e-05, allocations: 6.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.004853/0.004874, allocations: 5.289 MB / 435.5 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.006805, allocations: 1.305 MB / 436.8 MB, free: 6.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004063/0.007212, allocations: 31.75 kB / 436.8 MB, free: 6.949 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.007724, allocations: 131 kB / 437 MB, free: 6.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009127/0.008637, allocations: 397.8 kB / 437.4 MB, free: 6.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.008937, allocations: 163.6 kB / 437.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009153/0.009853, allocations: 0.794 MB / 438.3 MB, free: 5.473 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.01013, allocations: 150.1 kB / 438.5 MB, free: 5.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008069/0.01094, allocations: 474.5 kB / 438.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.0115, allocations: 379 kB / 439.3 MB, free: 4.484 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.01155, allocations: 44 kB / 439.3 MB, free: 4.441 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.555e-05/0.01161, allocations: 40 kB / 439.4 MB, free: 4.402 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.01177, allocations: 211.3 kB / 439.6 MB, free: 4.195 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.01194, allocations: 187.5 kB / 439.8 MB, free: 4.012 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006098/0.01255, allocations: 0.584 MB / 440.4 MB, free: 3.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.01255, allocations: 0 / 440.4 MB, free: 3.426 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.01256, allocations: 0 / 440.4 MB, free: 3.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.01257, allocations: 0 / 440.4 MB, free: 3.426 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001228/0.0138, allocations: 0.8317 MB / 441.2 MB, free: 2.555 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.01384, allocations: 11.98 kB / 441.2 MB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.974e-05/0.01391, allocations: 82.7 kB / 441.3 MB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.685e-05/0.01401, allocations: 68.52 kB / 441.3 MB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.01461, allocations: 452.3 kB / 441.8 MB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.01463, allocations: 29.38 kB / 441.8 MB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.01468, allocations: 44.12 kB / 441.9 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.01525, allocations: 0.5603 MB / 442.4 MB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.01526, allocations: 3.938 kB / 442.4 MB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.01529, allocations: 19.98 kB / 442.4 MB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.01532, allocations: 24.98 kB / 442.5 MB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.01576, allocations: 425.3 kB / 442.9 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1555/0.1713, allocations: 1.738 MB / 444.6 MB, free: 53.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.1717, allocations: 342.1 kB / 445 MB, free: 52.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.1719, allocations: 191.6 kB / 445.1 MB, free: 52.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1719, allocations: 4.938 kB / 445.1 MB, free: 52.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.1722, allocations: 311.4 kB / 445.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.194e-06/0.1722, allocations: 0 / 445.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001151/0.1733, allocations: 1.19 MB / 446.6 MB, free: 52.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1734, allocations: 172.7 kB / 446.8 MB, free: 52.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1736, allocations: 402.4 kB / 447.2 MB, free: 52.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1736, allocations: 32.17 kB / 447.2 MB, free: 52.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.1737, allocations: 297 kB / 447.5 MB, free: 51.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.1738, allocations: 126.9 kB / 447.6 MB, free: 51.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/0.1738, allocations: 95.17 kB / 447.7 MB, free: 51.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.629e-05/0.1739, allocations: 363.5 kB / 448.1 MB, free: 51.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.174, allocations: 145.8 kB / 448.2 MB, free: 51.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.1742, allocations: 312 kB / 448.5 MB, free: 51.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.1744, allocations: 483.6 kB / 449 MB, free: 50.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1744, allocations: 3.188 kB / 449 MB, free: 50.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0003907/0.1748, allocations: 0.5547 MB / 449.6 MB, free: 50.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.1748, allocations: 36.98 kB / 449.6 MB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1749, allocations: 9.219 kB / 449.6 MB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1749, allocations: 6.156 kB / 449.6 MB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.1751, allocations: 111.9 kB / 449.7 MB, free: 50.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1751, allocations: 13.47 kB / 449.7 MB, free: 50.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.1753, allocations: 24.66 kB / 449.8 MB, free: 50.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.1753, allocations: 32.86 kB / 449.8 MB, free: 50.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.000147/0.1754, allocations: 250 kB / 450 MB, free: 50.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.1755, allocations: 46 kB / 450.1 MB, free: 50.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/0.1759, allocations: 484.3 kB / 450.6 MB, free: 49.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1759, allocations: 3.094 kB / 450.6 MB, free: 49.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1759, allocations: 7.281 kB / 450.6 MB, free: 49.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1759, allocations: 3.281 kB / 450.6 MB, free: 49.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007671/0.1767, allocations: 0.9517 MB / 451.5 MB, free: 49.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1767, allocations: 0 / 451.5 MB, free: 49.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.1768, allocations: 69.5 kB / 451.6 MB, free: 49.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1768, allocations: 3.125 kB / 451.6 MB, free: 49.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1769, allocations: 17.84 kB / 451.6 MB, free: 49.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1769, allocations: 0 / 451.6 MB, free: 49.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1769, allocations: 5.625 kB / 451.6 MB, free: 49.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.1774, allocations: 0.7733 MB / 452.4 MB, free: 48.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.092e-05/0.1775, allocations: 60.95 kB / 452.5 MB, free: 48.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.1776, allocations: 16.77 kB / 452.5 MB, free: 48.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1777, allocations: 15.27 kB / 452.5 MB, free: 48.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.1777, allocations: 26.8 kB / 452.5 MB, free: 48.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.1778, allocations: 33.92 kB / 452.5 MB, free: 48.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.1779, allocations: 268.5 kB / 452.8 MB, free: 48.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1779, allocations: 0 / 452.8 MB, free: 48.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002691/0.1782, allocations: 100.2 kB / 452.9 MB, free: 48.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0006269/0.1788, allocations: 1.336 MB / 454.2 MB, free: 47.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.1791, allocations: 452 kB / 454.7 MB, free: 47.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1791, allocations: 0 / 454.7 MB, free: 47.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.1793, allocations: 257.8 kB / 454.9 MB, free: 47.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.1797, allocations: 103.8 kB / 455 MB, free: 47.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.1825, allocations: 4.229 MB / 459.3 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.1826, allocations: 284.7 kB / 459.5 MB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.1828, allocations: 90.73 kB / 459.6 MB, free: 44.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.1829, allocations: 175.5 kB / 459.8 MB, free: 44.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1829, allocations: 0 / 459.8 MB, free: 44.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.2073, allocations: 9.721 MB / 469.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/7.098, allocations: 3.938 kB / 469.5 MB, free: 42.79 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.12165325973183]