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.001987/0.001987, allocations: 88.31 kB / 20.95 MB, free: 3.473 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.002515/0.002515, allocations: 161.7 kB / 24.27 MB, free: 168 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.492/1.492, 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.3303/0.3303, allocations: 29.4 MB / 290.5 MB, free: 2.418 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 2.405e-06/2.405e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.32e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.01246/0.01249, allocations: 5.311 MB / 374.2 MB, free: 5.949 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004286/0.01678, allocations: 1.293 MB / 375.5 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007161/0.01749, allocations: 27.75 kB / 375.5 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009834/0.01848, allocations: 138.9 kB / 375.7 MB, free: 4.488 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.02041, allocations: 405.7 kB / 376.1 MB, free: 4.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006607/0.02107, allocations: 151.7 kB / 376.2 MB, free: 3.941 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.02275, allocations: 0.7979 MB / 377 MB, free: 3.141 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.0232, allocations: 138.1 kB / 377.1 MB, free: 3 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.02471, allocations: 482.5 kB / 377.6 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.02591, allocations: 371 kB / 378 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.02608, allocations: 40 kB / 378 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.02629, allocations: 40 kB / 378 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004821/0.02678, allocations: 219.3 kB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.02733, allocations: 191.5 kB / 378.4 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.02859, allocations: 0.5762 MB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.02859, allocations: 0 / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.0286, allocations: 0 / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.657e-05/0.02863, allocations: 0 / 379 MB, free: 1.105 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.002609/0.03124, allocations: 0.8317 MB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.03129, allocations: 11.98 kB / 379.9 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002969/0.03159, allocations: 104.5 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.033, allocations: 459.1 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.03306, allocations: 33.31 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.0332, allocations: 48.36 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.03467, allocations: 0.5757 MB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.03469, allocations: 0 / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/0.03476, allocations: 16 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/0.03482, allocations: 17 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.03596, allocations: 425.3 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004361/0.04032, allocations: 1.691 MB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.0411, allocations: 335 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/0.04163, allocations: 199.4 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/0.04168, allocations: 8.25 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007132/0.04239, allocations: 306.1 kB / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.475e-06/0.0424, allocations: 0 / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002842/0.04524, allocations: 1.21 MB / 385.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.04538, allocations: 166.2 kB / 385.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005923/0.04597, allocations: 397.8 kB / 385.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.04603, allocations: 33.7 kB / 385.8 MB, free: 9.914 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.04632, allocations: 308.2 kB / 386.1 MB, free: 9.609 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.04645, allocations: 123 kB / 386.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.04661, allocations: 98.12 kB / 386.3 MB, free: 9.387 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.04685, allocations: 350.8 kB / 386.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.04713, allocations: 150.6 kB / 386.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.04754, allocations: 315.2 kB / 387.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007149/0.04825, allocations: 477.3 kB / 387.6 MB, free: 7.941 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.04826, allocations: 0 / 387.6 MB, free: 7.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001026/0.04928, allocations: 0.5743 MB / 388.2 MB, free: 7.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.04933, allocations: 33.7 kB / 388.2 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.04934, allocations: 8 kB / 388.2 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.158e-05/0.04938, allocations: 11.94 kB / 388.2 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.04984, allocations: 107.8 kB / 388.3 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.04986, allocations: 12.44 kB / 388.4 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.05017, allocations: 28.05 kB / 388.4 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.05024, allocations: 31.98 kB / 388.4 MB, free: 7.113 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.0005157/0.05075, allocations: 251.2 kB / 388.7 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.05089, allocations: 63.67 kB / 388.7 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008744/0.05177, allocations: 497.4 kB / 389.2 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.05178, allocations: 7.938 kB / 389.2 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.05178, allocations: 0 / 389.2 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.05179, allocations: 0 / 389.2 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.05338, allocations: 0.8976 MB / 390.1 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.05338, allocations: 7.938 kB / 390.1 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.05371, allocations: 63.84 kB / 390.2 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.05371, allocations: 0 / 390.2 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.05375, allocations: 11.98 kB / 390.2 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.05375, allocations: 4 kB / 390.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.05376, allocations: 0 / 390.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.05498, allocations: 0.785 MB / 391 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.05514, allocations: 71.59 kB / 391.1 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.05521, allocations: 16.12 kB / 391.1 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.05544, allocations: 15.98 kB / 391.1 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.05552, allocations: 19.97 kB / 391.1 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/0.0556, allocations: 35.95 kB / 391.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000369/0.05597, allocations: 267.1 kB / 391.4 MB, free: 3.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05597, allocations: 0 / 391.4 MB, free: 3.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004989/0.05647, allocations: 104 kB / 391.5 MB, free: 3.891 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.000169/0.05664, allocations: 110.6 kB / 391.6 MB, free: 3.777 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008417/0.05748, allocations: 455 kB / 392.1 MB, free: 3.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.05748, allocations: 4 kB / 392.1 MB, free: 3.305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.05791, allocations: 256.9 kB / 392.3 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007241/0.05863, allocations: 117 kB / 392.4 MB, free: 2.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.0607, allocations: 0.9854 MB / 393.4 MB, free: 1.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.0611, allocations: 276.2 kB / 393.7 MB, free: 1.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002921/0.06139, allocations: 92.31 kB / 393.8 MB, free: 1.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.06151, allocations: 32.5 kB / 393.8 MB, free: 1.477 MB / 362.7 MB Notification: Performance of SimCode: time 9.01e-07/0.06151, allocations: 4 kB / 393.8 MB, free: 1.473 MB / 362.7 MB Notification: Performance of Templates: time 0.01104/0.07255, allocations: 4.345 MB / 398.2 MB, free: 13.23 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480] 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: 5.039411444100551]