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.001645/0.001645, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001719/0.001719, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 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.084/1.084, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.3525/0.3525, allocations: 29.42 MB / 291.2 MB, free: 2.391 MB / 266.7 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.1.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.793e-06/1.793e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.682e-05, allocations: 2.312 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.01152/0.01155, allocations: 4.325 MB / 374.4 MB, free: 6.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.0138, allocations: 1.231 MB / 375.7 MB, free: 5.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.01403, allocations: 19.88 kB / 375.7 MB, free: 5.086 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008298/0.01486, allocations: 294.5 kB / 376 MB, free: 4.797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.01525, allocations: 250.4 kB / 376.2 MB, free: 4.551 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.0156, allocations: 183.4 kB / 376.4 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.01601, allocations: 0.5527 MB / 377 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.01636, allocations: 254.1 kB / 377.2 MB, free: 3.562 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.0168, allocations: 395 kB / 377.6 MB, free: 3.176 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.01704, allocations: 231.3 kB / 377.8 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.01708, allocations: 28 kB / 377.8 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.01729, allocations: 135.7 kB / 378 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.01743, allocations: 203.4 kB / 378.2 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.01754, allocations: 143.7 kB / 378.3 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.01792, allocations: 390.6 kB / 378.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01792, allocations: 4 kB / 378.7 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.01793, allocations: 4 kB / 378.7 MB, free: 2.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.01793, allocations: 0 / 378.7 MB, free: 2.059 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.0008269/0.01876, allocations: 0.7581 MB / 379.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.01882, allocations: 19.92 kB / 379.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.01929, allocations: 120.5 kB / 379.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.01975, allocations: 337.8 kB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.01978, allocations: 25.38 kB / 380 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.0199, allocations: 52.62 kB / 380 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.02028, allocations: 314 kB / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.0203, allocations: 7.938 kB / 380.3 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.02032, allocations: 12 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.199e-05/0.02041, allocations: 24.98 kB / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.0206, allocations: 134.8 kB / 380.5 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.02238, allocations: 1.466 MB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.02268, allocations: 130.1 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.02278, allocations: 59.39 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.02281, allocations: 8 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.02285, allocations: 33.39 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.655e-06/0.02285, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009506/0.0238, allocations: 416.4 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.02384, allocations: 85.05 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.02403, allocations: 334.2 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.02405, allocations: 33.7 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.02421, allocations: 314.7 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.02428, allocations: 75.38 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.02438, allocations: 79.2 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.02453, allocations: 0.5157 MB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.082e-05/0.02458, allocations: 35.83 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.02469, allocations: 178.9 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.02488, allocations: 233.9 kB / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.02488, allocations: 0 / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004352/0.02532, allocations: 300.4 kB / 384.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.02534, allocations: 8 kB / 384.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001888/0.02553, allocations: 127.8 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.0258, allocations: 71.59 kB / 384.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.02594, allocations: 63.91 kB / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.02703, allocations: 1.819 MB / 386.8 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.02715, allocations: 8 kB / 386.8 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.02718, allocations: 12 kB / 386.8 MB, free: 9.359 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.0001369/0.02731, allocations: 176.4 kB / 387 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.02736, allocations: 43.75 kB / 387 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.02757, allocations: 171.9 kB / 387.2 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.02757, allocations: 4 kB / 387.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-06/0.02757, allocations: 7.969 kB / 387.2 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.02758, allocations: 0 / 387.2 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006261/0.0282, allocations: 0.5206 MB / 387.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.02821, allocations: 3.984 kB / 387.8 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.02835, allocations: 51.92 kB / 387.8 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.02835, allocations: 4.141 kB / 387.8 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.02836, allocations: 4 kB / 387.8 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.02837, allocations: 12 kB / 387.8 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.02837, allocations: 0 / 387.8 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.02868, allocations: 378.9 kB / 388.2 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.02873, allocations: 31.7 kB / 388.2 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.02877, allocations: 11.98 kB / 388.2 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.02885, allocations: 4 kB / 388.2 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.02888, allocations: 15.92 kB / 388.3 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.02889, allocations: 7.984 kB / 388.3 MB, free: 7.844 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.029, allocations: 214.9 kB / 388.5 MB, free: 7.637 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.029, allocations: 3.938 kB / 388.5 MB, free: 7.633 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.02927, allocations: 88 kB / 388.6 MB, free: 7.547 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 0.0001165/0.02938, allocations: 103.2 kB / 388.7 MB, free: 7.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003612/0.02975, allocations: 324.7 kB / 389 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.02975, allocations: 0.875 kB / 389 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.585e-05/0.02982, allocations: 67.64 kB / 389 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.03016, allocations: 82.28 kB / 389.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.03184, allocations: 0.7938 MB / 389.9 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.03197, allocations: 132.4 kB / 390.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.03209, allocations: 46.94 kB / 390.1 MB, free: 5.914 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.03223, allocations: 126.2 kB / 390.2 MB, free: 5.789 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.03223, allocations: 0 / 390.2 MB, free: 5.789 MB / 362.7 MB Notification: Performance of Templates: time 0.007326/0.03956, allocations: 3.75 MB / 394 MB, free: 2.094 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.497986765112728]