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.00225/0.00225, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002499/0.002499, allocations: 165.3 kB / 24.27 MB, free: 160 kB / 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 1.561/1.561, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3002/0.3002, allocations: 29.41 MB / 290.5 MB, free: 2.441 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|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="Time|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.613e-06/1.613e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.141e-05, allocations: 5.828 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.008265/0.008297, allocations: 5.558 MB / 374.4 MB, free: 5.738 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.01115, allocations: 1.344 MB / 375.8 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.01144, allocations: 27.75 kB / 375.8 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.01199, allocations: 135 kB / 376 MB, free: 4.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.013, allocations: 405.7 kB / 376.3 MB, free: 3.832 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.01337, allocations: 147.7 kB / 376.5 MB, free: 3.688 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.01439, allocations: 0.7979 MB / 377.3 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.01471, allocations: 142.1 kB / 377.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007728/0.01548, allocations: 482.6 kB / 377.9 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007068/0.01618, allocations: 379 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.7e-05/0.01627, allocations: 40 kB / 378.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.01638, allocations: 40 kB / 378.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.01671, allocations: 219.4 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.01699, allocations: 187.5 kB / 378.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008821/0.01788, allocations: 0.5763 MB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.01788, allocations: 8 kB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.01789, allocations: 3.938 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.01789, allocations: 0 / 379.3 MB, free: 0.832 MB / 346.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.001771/0.01967, allocations: 0.9547 MB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.01971, allocations: 19.98 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.01991, allocations: 100.5 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009505/0.02086, allocations: 467.1 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.0209, allocations: 29.38 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.02097, allocations: 40.38 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008199/0.02179, allocations: 0.4952 MB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.02181, allocations: 4 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.02185, allocations: 23.92 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/0.02189, allocations: 17 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005236/0.02241, allocations: 269.4 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003004/0.02541, allocations: 2.072 MB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.02601, allocations: 304.1 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.02634, allocations: 172.9 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.02638, allocations: 8.188 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004978/0.02688, allocations: 317.3 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.295e-06/0.02688, allocations: 0 / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00205/0.02893, allocations: 1.105 MB / 385.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.02907, allocations: 166.2 kB / 385.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005649/0.02963, allocations: 0.4908 MB / 386.3 MB, free: 9.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.02967, allocations: 33.7 kB / 386.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.02997, allocations: 366.9 kB / 386.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.0301, allocations: 127 kB / 386.9 MB, free: 8.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.03027, allocations: 111.9 kB / 387 MB, free: 8.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003379/0.03061, allocations: 0.5508 MB / 387.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.03081, allocations: 110.7 kB / 387.6 MB, free: 8.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.03124, allocations: 367 kB / 388 MB, free: 7.605 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.03191, allocations: 493.2 kB / 388.5 MB, free: 7.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.03191, allocations: 4 kB / 388.5 MB, free: 7.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008443/0.03276, allocations: 0.5121 MB / 389 MB, free: 6.477 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.03281, allocations: 33.7 kB / 389 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.03282, allocations: 8 kB / 389 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.03285, allocations: 11.94 kB / 389 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.03331, allocations: 111.8 kB / 389.1 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.03332, allocations: 8 kB / 389.2 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.03356, allocations: 27.94 kB / 389.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/0.03361, allocations: 28.23 kB / 389.2 MB, free: 6.246 MB / 362.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.0002569/0.03387, allocations: 254 kB / 389.5 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.594e-05/0.03395, allocations: 59.72 kB / 389.5 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008654/0.03482, allocations: 445.2 kB / 389.9 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.03483, allocations: 7.938 kB / 390 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.03483, allocations: 0 / 390 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.03484, allocations: 7.922 kB / 390 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.03634, allocations: 0.9766 MB / 390.9 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.03635, allocations: 4 kB / 390.9 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.03668, allocations: 59.97 kB / 391 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.03669, allocations: 4 kB / 391 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.03673, allocations: 11.98 kB / 391 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/0.03674, allocations: 7.938 kB / 391 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.03675, allocations: 0 / 391 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.03786, allocations: 0.7666 MB / 391.8 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.03802, allocations: 63.62 kB / 391.9 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.03809, allocations: 15.98 kB / 391.9 MB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.03829, allocations: 8 kB / 391.9 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.03837, allocations: 35.92 kB / 391.9 MB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/0.03843, allocations: 27.97 kB / 391.9 MB, free: 3.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003388/0.03877, allocations: 307.1 kB / 392.2 MB, free: 3.059 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03877, allocations: 0 / 392.2 MB, free: 3.059 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004819/0.03925, allocations: 100 kB / 392.3 MB, free: 2.961 MB / 362.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.0001649/0.03941, allocations: 115 kB / 392.5 MB, free: 2.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006939/0.04011, allocations: 440.4 kB / 392.9 MB, free: 2.387 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.04011, allocations: 0 / 392.9 MB, free: 2.387 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.04044, allocations: 256.6 kB / 393.1 MB, free: 2.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.04107, allocations: 113.1 kB / 393.2 MB, free: 2.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.04275, allocations: 0.9406 MB / 394.2 MB, free: 1.012 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.04308, allocations: 272.2 kB / 394.4 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002452/0.04333, allocations: 80.31 kB / 394.5 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.942e-05/0.04342, allocations: 40.48 kB / 394.6 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.04343, allocations: 0 / 394.6 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of Templates: time 0.01085/0.05428, allocations: 4.336 MB / 398.9 MB, free: 12.37 MB / 378.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 -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","/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: 4.818839797982946]