Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.00203/0.00203, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.002519/0.002519, allocations: 157.7 kB / 24.26 MB, free: 176 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.528/1.528, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3748/0.3748, allocations: 29.41 MB / 290.5 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 179] 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.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.105e-05/3.375e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.00987/0.009903, allocations: 5.286 MB / 374.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003879/0.01378, allocations: 1.262 MB / 375.4 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/0.01423, allocations: 27.75 kB / 375.5 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.01493, allocations: 127 kB / 375.6 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.01654, allocations: 393.9 kB / 376 MB, free: 4.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.01703, allocations: 139.7 kB / 376.1 MB, free: 4.051 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.0184, allocations: 0.763 MB / 376.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003912/0.01879, allocations: 136.6 kB / 377 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.01994, allocations: 466.5 kB / 377.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009198/0.02086, allocations: 355 kB / 377.8 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.347e-05/0.02096, allocations: 36 kB / 377.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.02108, allocations: 40 kB / 377.9 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.02141, allocations: 203.4 kB / 378.1 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003553/0.02177, allocations: 171.6 kB / 378.2 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.0228, allocations: 0.5256 MB / 378.8 MB, free: 1.371 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.02281, allocations: 4 kB / 378.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.02281, allocations: 0 / 378.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.02282, allocations: 0 / 378.8 MB, free: 1.367 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00229/0.02511, allocations: 0.7329 MB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.141e-05/0.02517, allocations: 11.98 kB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.02542, allocations: 88.61 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.02673, allocations: 448.6 kB / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.02679, allocations: 29.38 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.02693, allocations: 36.42 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.0282, allocations: 0.5038 MB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.02822, allocations: 0 / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-05/0.02829, allocations: 20 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.628e-05/0.02834, allocations: 17 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009969/0.02934, allocations: 367.6 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004076/0.03342, allocations: 1.843 MB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.03411, allocations: 240.4 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/0.0345, allocations: 113.7 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.03453, allocations: 4 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/0.03459, allocations: 38.55 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 8.416e-06/0.0346, allocations: 7.984 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.002021/0.03662, allocations: 0.7015 MB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.0367, allocations: 77.11 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006702/0.03737, allocations: 381.4 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.03741, allocations: 33.7 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/0.03778, allocations: 288.1 kB / 384.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.03791, allocations: 87.25 kB / 384.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.0381, allocations: 86.09 kB / 384.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003144/0.03841, allocations: 354.7 kB / 385.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.03865, allocations: 81.08 kB / 385.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/0.03917, allocations: 281.8 kB / 385.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008193/0.03999, allocations: 398.7 kB / 386 MB, free: 9.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/0.04, allocations: 4 kB / 386 MB, free: 9.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00155/0.04155, allocations: 476.2 kB / 386.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.04158, allocations: 8.875 kB / 386.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.04159, allocations: 4 kB / 386.4 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003282/0.04192, allocations: 60.83 kB / 386.5 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.04236, allocations: 79.84 kB / 386.6 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/0.04481, allocations: 1.491 MB / 388.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.04515, allocations: 19.94 kB / 388.1 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.0452, allocations: 20 kB / 388.1 MB, free: 7.414 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004011/0.0456, allocations: 209.7 kB / 388.3 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.04572, allocations: 39.77 kB / 388.4 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006195/0.04634, allocations: 233.2 kB / 388.6 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.04635, allocations: 4 kB / 388.6 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.04635, allocations: 0 / 388.6 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.04636, allocations: 3.984 kB / 388.6 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.04776, allocations: 0.5966 MB / 389.2 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.04777, allocations: 0 / 389.2 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.04808, allocations: 48.05 kB / 389.2 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.04808, allocations: 0 / 389.2 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.04811, allocations: 4 kB / 389.2 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.04811, allocations: 3.984 kB / 389.2 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.04812, allocations: 7.938 kB / 389.3 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007899/0.04891, allocations: 438.1 kB / 389.7 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.04904, allocations: 43.97 kB / 389.7 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.0491, allocations: 8 kB / 389.7 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.04931, allocations: 11.98 kB / 389.7 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.04937, allocations: 19.98 kB / 389.8 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.04939, allocations: 11.98 kB / 389.8 MB, free: 5.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004033/0.0498, allocations: 251.2 kB / 390 MB, free: 5.426 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0498, allocations: 0 / 390 MB, free: 5.426 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007105/0.05051, allocations: 87.94 kB / 390.1 MB, free: 5.34 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: 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.00017/0.05068, allocations: 99.25 kB / 390.2 MB, free: 5.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009123/0.05159, allocations: 375.6 kB / 390.6 MB, free: 4.855 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.05159, allocations: 0 / 390.6 MB, free: 4.855 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.0518, allocations: 91.77 kB / 390.7 MB, free: 4.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009035/0.0527, allocations: 94.36 kB / 390.8 MB, free: 4.684 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.05468, allocations: 0.8354 MB / 391.6 MB, free: 3.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.05514, allocations: 253.7 kB / 391.8 MB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003495/0.05549, allocations: 79.39 kB / 391.9 MB, free: 3.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.0556, allocations: 32.5 kB / 391.9 MB, free: 3.426 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0556, allocations: 0 / 391.9 MB, free: 3.426 MB / 362.7 MB Notification: Performance of Templates: time 0.01296/0.06856, allocations: 3.612 MB / 395.6 MB, free: 15.91 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001742823049426]