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.0007653/0.0007653, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001837, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006879/0.0006879, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008938/0.001582, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9654/0.9654, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09439/1.06, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1193/0.1193, allocations: 29.44 MB / 273.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1323/0.2516, allocations: 9.534 MB / 283.1 MB, free: 12.83 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.889e-06/1.104e-05, allocations: 3.719 kB / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.004398/0.004409, allocations: 4.93 MB / 289.4 MB, free: 8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.006663, allocations: 1.396 MB / 290.8 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.006933, allocations: 26.91 kB / 290.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.007285, allocations: 126.7 kB / 290.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006843/0.007969, allocations: 391.5 kB / 291.3 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.008262, allocations: 155.4 kB / 291.5 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007748/0.009037, allocations: 0.7908 MB / 292.2 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002545/0.009291, allocations: 147.5 kB / 292.4 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008667/0.01016, allocations: 0.5661 MB / 293 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004355/0.01059, allocations: 296.4 kB / 293.2 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.118e-05/0.01065, allocations: 36.66 kB / 293.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.01074, allocations: 37.06 kB / 293.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.01091, allocations: 190.9 kB / 293.5 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.01109, allocations: 147.9 kB / 293.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.01153, allocations: 386 kB / 294 MB, free: 5.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.01154, allocations: 1.219 kB / 294 MB, free: 5.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01155, allocations: 0 / 294 MB, free: 5.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.01156, allocations: 4 kB / 294 MB, free: 5.039 MB / 282.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.001035/0.01259, allocations: 0.8819 MB / 294.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.01262, allocations: 12.03 kB / 294.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.01273, allocations: 72.88 kB / 295 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.01324, allocations: 415.4 kB / 295.4 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.01326, allocations: 32.94 kB / 295.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.01332, allocations: 40 kB / 295.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.01376, allocations: 404.5 kB / 295.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.01377, allocations: 0 / 295.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.0138, allocations: 16 kB / 295.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.01383, allocations: 24.98 kB / 295.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.01405, allocations: 172.5 kB / 296.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.01545, allocations: 1.478 MB / 297.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.01575, allocations: 222.7 kB / 297.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.0159, allocations: 128 kB / 297.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.01592, allocations: 4 kB / 297.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.01617, allocations: 258 kB / 298.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.01618, allocations: 4 kB / 298.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006398/0.01682, allocations: 0.5119 MB / 298.7 MB, free: 192 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/0.01691, allocations: 195.8 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.01717, allocations: 367.1 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.01719, allocations: 33.7 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.01731, allocations: 245.2 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.057e-05/0.01739, allocations: 126.9 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.964e-05/0.01749, allocations: 90.14 kB / 299.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.0176, allocations: 358.7 kB / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.01769, allocations: 81.62 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.01784, allocations: 238.4 kB / 300.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.01815, allocations: 361.1 kB / 300.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.01815, allocations: 4 kB / 300.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003614/0.01852, allocations: 347.1 kB / 301.1 MB, free: 13.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.01855, allocations: 35.92 kB / 301.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.01856, allocations: 15.88 kB / 301.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.01857, allocations: 8 kB / 301.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.0189, allocations: 123.8 kB / 301.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.01891, allocations: 11.98 kB / 301.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.01909, allocations: 51.75 kB / 301.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.01913, allocations: 23.98 kB / 301.3 MB, free: 13.26 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (59): * Single equations (assignments): 58 * 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.0001353/0.01926, allocations: 190.1 kB / 301.5 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.01932, allocations: 47.89 kB / 301.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.01963, allocations: 306 kB / 301.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.01964, allocations: 4 kB / 301.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.01964, allocations: 0 / 301.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01964, allocations: 0 / 301.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.02025, allocations: 0.5787 MB / 302.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.02025, allocations: 4 kB / 302.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.02047, allocations: 71.89 kB / 302.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.02055, allocations: 59.55 kB / 302.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.02055, allocations: 4.031 kB / 302.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.02057, allocations: 11.98 kB / 302.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.02057, allocations: 4 kB / 302.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.02057, allocations: 0 / 302.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.02101, allocations: 0.5012 MB / 303.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.02105, allocations: 8 kB / 303.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.02118, allocations: 12 kB / 303.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.02123, allocations: 23.95 kB / 303.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.02127, allocations: 27.97 kB / 303.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.02139, allocations: 136.7 kB / 303.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02139, allocations: 32 / 303.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.02174, allocations: 127.8 kB / 303.4 MB, free: 11.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 30 * 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 9.045e-05/0.02183, allocations: 93.06 kB / 303.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003255/0.02216, allocations: 337.3 kB / 303.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/0.02217, allocations: 8.656 kB / 303.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.02236, allocations: 222.2 kB / 304.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.02303, allocations: 0.8093 MB / 304.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006971/0.03, allocations: 0.8981 MB / 305.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.03011, allocations: 145.7 kB / 305.9 MB, free: 8.281 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.03027, allocations: 60.17 kB / 306 MB, free: 8.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.0305, allocations: 155.3 kB / 306.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0305, allocations: 0 / 306.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of Templates: time 0.008213/0.03871, allocations: 4.639 MB / 310.8 MB, free: 3.551 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8192876260727644]