Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001321/0.001321, allocations: 84.94 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001364/0.001364, allocations: 163.7 kB / 23.95 MB, free: 4.156 MB / 14.72 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.359/1.359, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1722/0.1722, allocations: 29.45 MB / 290.1 MB, free: 3.266 MB / 270.1 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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.808e-05, allocations: 2.281 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004798/0.004826, allocations: 3.415 MB / 434.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.006998, allocations: 1.364 MB / 435.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.007149, allocations: 15.88 kB / 435.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008389/0.007988, allocations: 254.9 kB / 435.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007105/0.008698, allocations: 282.5 kB / 436 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.009019, allocations: 115.5 kB / 436.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004645/0.009484, allocations: 339 kB / 436.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.009776, allocations: 114.1 kB / 436.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00041/0.01019, allocations: 207.3 kB / 436.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.01046, allocations: 143.6 kB / 436.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.01049, allocations: 16 kB / 436.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004666/0.01096, allocations: 263.1 kB / 437.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.0111, allocations: 107.7 kB / 437.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.01121, allocations: 75.78 kB / 437.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005797/0.01179, allocations: 363 kB / 437.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.0118, allocations: 0 / 437.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.0118, allocations: 0 / 437.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.01181, allocations: 3.938 kB / 437.7 MB, free: 10.87 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000729/0.01254, allocations: 448.4 kB / 438.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.01257, allocations: 11.98 kB / 438.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008388/0.01341, allocations: 92.69 kB / 438.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.01377, allocations: 213.9 kB / 438.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.01379, allocations: 16.38 kB / 438.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.01384, allocations: 16.38 kB / 438.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005008/0.01434, allocations: 319.2 kB / 438.8 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.01436, allocations: 3.938 kB / 438.8 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.01438, allocations: 12 kB / 438.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.01442, allocations: 15.98 kB / 438.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.01486, allocations: 275.8 kB / 439.1 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.01654, allocations: 1.178 MB / 440.3 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.01713, allocations: 205.1 kB / 440.5 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/0.01722, allocations: 53.75 kB / 440.6 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.01724, allocations: 4 kB / 440.6 MB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.01727, allocations: 34.56 kB / 440.6 MB, free: 7.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.01728, allocations: 4 kB / 440.6 MB, free: 7.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001045/0.01832, allocations: 357 kB / 440.9 MB, free: 7.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.0184, allocations: 85.05 kB / 441 MB, free: 7.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.01868, allocations: 191.5 kB / 441.2 MB, free: 7.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.01871, allocations: 25.7 kB / 441.2 MB, free: 7.129 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.01887, allocations: 168.2 kB / 441.4 MB, free: 6.961 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.01893, allocations: 51.53 kB / 441.5 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.01904, allocations: 41.72 kB / 441.5 MB, free: 6.863 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.01923, allocations: 330.9 kB / 441.8 MB, free: 6.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.01933, allocations: 51.97 kB / 441.9 MB, free: 6.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.01953, allocations: 152.8 kB / 442 MB, free: 6.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.01989, allocations: 237.2 kB / 442.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01989, allocations: 0 / 442.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004988/0.02039, allocations: 266.1 kB / 442.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.02041, allocations: 8 kB / 442.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.02042, allocations: 4 kB / 442.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/0.02065, allocations: 36.83 kB / 442.6 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.02082, allocations: 43.91 kB / 442.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.0221, allocations: 1.311 MB / 443.9 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.02222, allocations: 8 kB / 443.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.02224, allocations: 12 kB / 443.9 MB, free: 4.211 MB / 366.1 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 (24): * Single equations (assignments): 23 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.02241, allocations: 161.7 kB / 444.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.02245, allocations: 15.91 kB / 444.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.02285, allocations: 191.9 kB / 444.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.02286, allocations: 8.031 kB / 444.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.02286, allocations: 7.938 kB / 444.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.02287, allocations: 3.984 kB / 444.3 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007999/0.02367, allocations: 493.3 kB / 444.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02367, allocations: 0 / 444.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-05/0.02376, allocations: 19.98 kB / 444.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/0.02391, allocations: 36.92 kB / 444.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.02392, allocations: 4 kB / 444.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.0251, allocations: 1.295 MB / 446.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.02511, allocations: 3.938 kB / 446.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.0255, allocations: 290.9 kB / 446.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.02554, allocations: 27.84 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.02556, allocations: 0 / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.02567, allocations: 8 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.0257, allocations: 15.91 kB / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.02572, allocations: 4 kB / 446.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.02584, allocations: 137.2 kB / 446.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02584, allocations: 0 / 446.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.02619, allocations: 48 kB / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001281/0.02632, allocations: 107.1 kB / 446.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004954/0.02682, allocations: 254.4 kB / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.02682, allocations: 0 / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.02706, allocations: 178.5 kB / 447.2 MB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.02743, allocations: 33.05 kB / 447.2 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008384/0.02827, allocations: 425.6 kB / 447.7 MB, free: 228 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.02846, allocations: 155.8 kB / 447.8 MB, free: 48 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.02857, allocations: 41.44 kB / 447.8 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1508/0.1793, allocations: 16.77 kB / 447.9 MB, free: 29.61 MB / 366.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1793, allocations: 1.031 kB / 447.9 MB, free: 29.61 MB / 366.1 MB Notification: Performance of Templates: time 0.004938/0.1843, allocations: 1.597 MB / 449.5 MB, free: 29.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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: 4.3798118978738785]