Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.001812/0.001812, allocations: 80.34 kB / 20.95 MB, free: 3.457 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.002362/0.002362, allocations: 165.7 kB / 24.27 MB, free: 148 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.563/1.563, 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.3362/0.3362, allocations: 29.41 MB / 290.5 MB, free: 2.43 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.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.387e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01843/0.01846, allocations: 8.294 MB / 377.2 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.02968, allocations: 2.878 MB / 380.1 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.03087, allocations: 43.62 kB / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005614/0.03648, allocations: 1.05 MB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.0399, allocations: 0.6446 MB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004142/0.04404, allocations: 0.7749 MB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004104/0.04815, allocations: 1.66 MB / 384.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001782/0.04993, allocations: 0.6788 MB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/0.05257, allocations: 0.9814 MB / 385.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002594/0.05516, allocations: 0.9001 MB / 386.8 MB, free: 9.305 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003146/0.05548, allocations: 104 kB / 386.9 MB, free: 9.203 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.05734, allocations: 491.1 kB / 387.4 MB, free: 8.723 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001549/0.05889, allocations: 0.7052 MB / 388.1 MB, free: 8.016 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.06007, allocations: 0.4949 MB / 388.6 MB, free: 7.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004194/0.06426, allocations: 1.85 MB / 390.4 MB, free: 5.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.722e-05/0.06428, allocations: 8 kB / 390.4 MB, free: 5.656 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.06428, allocations: 4 kB / 390.4 MB, free: 5.652 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.39e-05/0.06432, allocations: 0 / 390.4 MB, free: 5.652 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.005787/0.0701, allocations: 1.589 MB / 392 MB, free: 4.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.07016, allocations: 11.98 kB / 392 MB, free: 4.012 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/0.07503, allocations: 0.5461 MB / 392.6 MB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/0.07872, allocations: 0.85 MB / 393.4 MB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.07889, allocations: 90.7 kB / 393.5 MB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007616/0.07965, allocations: 156.7 kB / 393.7 MB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006251/0.0859, allocations: 1.847 MB / 395.5 MB, free: 324 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-05/0.08599, allocations: 15.94 kB / 395.5 MB, free: 308 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.08623, allocations: 47.98 kB / 395.6 MB, free: 260 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006222/0.08686, allocations: 102.1 kB / 395.7 MB, free: 156 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005337/0.09219, allocations: 1.48 MB / 397.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01453/0.1067, allocations: 7.757 MB / 404.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.1082, allocations: 0.6591 MB / 405.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008428/0.109, allocations: 444.2 kB / 406 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.472e-05/0.1091, allocations: 24.64 kB / 406 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.1092, allocations: 43.16 kB / 406.1 MB, free: 5.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 2.395e-06/0.1092, allocations: 0 / 406.1 MB, free: 5.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.005079/0.1142, allocations: 2.42 MB / 408.5 MB, free: 2.938 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.1143, allocations: 85.77 kB / 408.6 MB, free: 2.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.1159, allocations: 0.8129 MB / 409.4 MB, free: 2.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/0.116, allocations: 37.7 kB / 409.4 MB, free: 1.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007124/0.1167, allocations: 0.706 MB / 410.1 MB, free: 1.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.117, allocations: 313.4 kB / 410.5 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004099/0.1175, allocations: 255.4 kB / 410.7 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002851/0.1177, allocations: 418.7 kB / 411.1 MB, free: 276 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008471/0.1186, allocations: 447.7 kB / 411.5 MB, free: 15.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.12, allocations: 1.005 MB / 412.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002525/0.1226, allocations: 1.589 MB / 414.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/0.1226, allocations: 4 kB / 414.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004034/0.1266, allocations: 1.831 MB / 416 MB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.1266, allocations: 12 kB / 416 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002057/0.1287, allocations: 0.9774 MB / 417 MB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.13, allocations: 306.5 kB / 417.3 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.1312, allocations: 311.5 kB / 417.6 MB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005802/0.137, allocations: 4.778 MB / 422.3 MB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.138, allocations: 55.98 kB / 422.4 MB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.1382, allocations: 67.94 kB / 422.5 MB, free: 4.062 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009857/0.1392, allocations: 433.2 kB / 422.9 MB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.1395, allocations: 131.3 kB / 423 MB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.1414, allocations: 0.945 MB / 424 MB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.1414, allocations: 8 kB / 424 MB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1414, allocations: 0 / 424 MB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.1414, allocations: 11.92 kB / 424 MB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004117/0.1455, allocations: 1.856 MB / 425.8 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.1455, allocations: 8.188 kB / 425.8 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009597/0.1465, allocations: 187.9 kB / 426 MB, free: 432 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.1465, allocations: 4 kB / 426 MB, free: 428 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.189e-05/0.1466, allocations: 31.97 kB / 426.1 MB, free: 396 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.1466, allocations: 4 kB / 426.1 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.1466, allocations: 7.938 kB / 426.1 MB, free: 384 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.149, allocations: 1.434 MB / 427.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.1493, allocations: 87.28 kB / 427.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.1494, allocations: 31.98 kB / 427.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.1499, allocations: 20.08 kB / 427.6 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.15, allocations: 60.44 kB / 427.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.1501, allocations: 23.98 kB / 427.7 MB, free: 14.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008284/0.1509, allocations: 0.5146 MB / 428.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1509, allocations: 0 / 428.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001223/0.1521, allocations: 292 kB / 428.5 MB, free: 13.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.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 (86): * Single equations (assignments): 85 * 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.0001955/0.1523, allocations: 123.1 kB / 428.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00289/0.1552, allocations: 1.423 MB / 430.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1552, allocations: 0 / 430.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006853/0.1559, allocations: 384 kB / 430.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.1569, allocations: 185.9 kB / 430.6 MB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.1623, allocations: 2.593 MB / 433.2 MB, free: 9.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00097/0.1632, allocations: 0.6498 MB / 433.9 MB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001125/0.1644, allocations: 412.5 kB / 434.3 MB, free: 8.004 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.1646, allocations: 84.42 kB / 434.4 MB, free: 7.922 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.1646, allocations: 0 / 434.4 MB, free: 7.922 MB / 410.7 MB Notification: Performance of Templates: time 0.1667/0.3314, allocations: 10.71 MB / 445.1 MB, free: 105.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.48588918603491]