Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001302/0.001302, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009304/0.0009304, allocations: 161 kB / 24.56 MB, free: 16 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 0.9676/0.9676, allocations: 177.1 MB / 205 MB, free: 5.219 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.2528/0.2528, allocations: 29.41 MB / 290.9 MB, free: 2.457 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.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 3.938 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.513e-05, allocations: 6.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004116/0.004131, allocations: 4.336 MB / 374 MB, free: 6.656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.005899, allocations: 1.344 MB / 375.3 MB, free: 5.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.006089, allocations: 23.81 kB / 375.3 MB, free: 5.285 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.00662, allocations: 167 kB / 375.5 MB, free: 5.121 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.007022, allocations: 242.5 kB / 375.7 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.007423, allocations: 179.4 kB / 375.9 MB, free: 4.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.007922, allocations: 0.5644 MB / 376.5 MB, free: 4.141 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.00828, allocations: 258.1 kB / 376.7 MB, free: 3.883 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.008693, allocations: 347 kB / 377.1 MB, free: 3.543 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.008994, allocations: 255.3 kB / 377.3 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.009035, allocations: 32 kB / 377.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.009257, allocations: 135.7 kB / 377.5 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.009408, allocations: 203.4 kB / 377.7 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.009536, allocations: 151.7 kB / 377.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.009955, allocations: 402.5 kB / 378.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.009957, allocations: 0 / 378.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.009958, allocations: 8 kB / 378.2 MB, free: 2.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.009966, allocations: 0 / 378.2 MB, free: 2.379 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0007517/0.01072, allocations: 0.7504 MB / 379 MB, free: 1.594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.01075, allocations: 15.98 kB / 379 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003931/0.01114, allocations: 124.5 kB / 379.1 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.01156, allocations: 374.6 kB / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.01158, allocations: 25.38 kB / 379.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.422e-05/0.01166, allocations: 40.73 kB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.01203, allocations: 346 kB / 379.9 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.01204, allocations: 4 kB / 379.9 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.01207, allocations: 11.98 kB / 379.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.914e-05/0.01213, allocations: 28.98 kB / 379.9 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.01236, allocations: 157.8 kB / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.01367, allocations: 1.559 MB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.01386, allocations: 126.1 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.01394, allocations: 63.41 kB / 381.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.01396, allocations: 0 / 381.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.01398, allocations: 49.27 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.001e-06/0.01398, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007468/0.01473, allocations: 0.5393 MB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.01476, allocations: 81.11 kB / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.01497, allocations: 338.2 kB / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.01499, allocations: 33.7 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.01512, allocations: 306.7 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.01516, allocations: 75.38 kB / 383.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.01523, allocations: 67.34 kB / 383.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.01536, allocations: 0.5157 MB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.01543, allocations: 47.89 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.01556, allocations: 187.2 kB / 384 MB, free: 12.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.01578, allocations: 253.9 kB / 384.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01578, allocations: 4 kB / 384.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000424/0.01621, allocations: 323.8 kB / 384.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.01622, allocations: 10.5 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002148/0.01644, allocations: 150.2 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/0.01667, allocations: 71.67 kB / 384.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.0168, allocations: 63.91 kB / 384.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009527/0.01775, allocations: 1.838 MB / 386.7 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.01785, allocations: 12 kB / 386.8 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.01787, allocations: 16 kB / 386.8 MB, free: 9.266 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.01798, allocations: 176.5 kB / 386.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.01802, allocations: 39.81 kB / 387 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.01825, allocations: 184.5 kB / 387.2 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01825, allocations: 4 kB / 387.2 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.01825, allocations: 3.984 kB / 387.2 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.01826, allocations: 0 / 387.2 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006194/0.01888, allocations: 0.6069 MB / 387.8 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01888, allocations: 4.062 kB / 387.8 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.01902, allocations: 55.91 kB / 387.8 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01902, allocations: 144 / 387.8 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01903, allocations: 8 kB / 387.8 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01903, allocations: 0 / 387.8 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.01904, allocations: 15.91 kB / 387.9 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.01934, allocations: 390.5 kB / 388.2 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.01937, allocations: 23.81 kB / 388.3 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.01939, allocations: 11.98 kB / 388.3 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.01947, allocations: 8 kB / 388.3 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.01949, allocations: 15.97 kB / 388.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.01951, allocations: 11.94 kB / 388.3 MB, free: 7.629 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.01963, allocations: 227 kB / 388.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01963, allocations: 0 / 388.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002698/0.0199, allocations: 84 kB / 388.6 MB, free: 7.328 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * 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 9.006e-05/0.01999, allocations: 103.2 kB / 388.7 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003742/0.02037, allocations: 350.1 kB / 389.1 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.02037, allocations: 0 / 389.1 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.02045, allocations: 68.81 kB / 389.1 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.02074, allocations: 72.11 kB / 389.2 MB, free: 6.715 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.02196, allocations: 0.8093 MB / 390 MB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.033e-05/0.02205, allocations: 136.4 kB / 390.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.02217, allocations: 58.91 kB / 390.2 MB, free: 5.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.02222, allocations: 28.5 kB / 390.2 MB, free: 5.621 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02222, allocations: 0 / 390.2 MB, free: 5.621 MB / 362.7 MB Notification: Performance of Templates: time 0.005251/0.02747, allocations: 3.532 MB / 393.7 MB, free: 2.141 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0793859069235623]