Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.001258/0.001258, 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.0009749/0.0009749, allocations: 161.4 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.9674/0.9674, allocations: 177.1 MB / 205 MB, free: 5.605 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.2463/0.2463, allocations: 29.42 MB / 290.9 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] 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.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.337e-05, allocations: 9.406 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003742/0.003776, allocations: 3.468 MB / 373.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.005203, allocations: 1.161 MB / 374.3 MB, free: 6.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.005344, allocations: 7.938 kB / 374.3 MB, free: 6.312 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.005895, allocations: 211.1 kB / 374.5 MB, free: 6.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005067/0.006402, allocations: 278.6 kB / 374.8 MB, free: 5.832 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.006642, allocations: 111.5 kB / 374.9 MB, free: 5.723 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.006992, allocations: 346.9 kB / 375.2 MB, free: 5.383 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.007227, allocations: 102.2 kB / 375.3 MB, free: 5.285 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.007544, allocations: 207.3 kB / 375.5 MB, free: 5.082 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.007779, allocations: 151.5 kB / 375.7 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.007802, allocations: 12 kB / 375.7 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.00814, allocations: 267.2 kB / 375.9 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.008241, allocations: 103.7 kB / 376 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.397e-05/0.008325, allocations: 75.83 kB / 376.1 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.008713, allocations: 303.1 kB / 376.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.008717, allocations: 3.938 kB / 376.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.008718, allocations: 0 / 376.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.008723, allocations: 0 / 376.4 MB, free: 4.184 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008502/0.009574, allocations: 0.5423 MB / 376.9 MB, free: 3.605 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.009611, allocations: 11.98 kB / 377 MB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005473/0.01016, allocations: 128.6 kB / 377.1 MB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.01043, allocations: 220.8 kB / 377.3 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.01045, allocations: 8.375 kB / 377.3 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.01048, allocations: 16.38 kB / 377.3 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.01076, allocations: 232.3 kB / 377.6 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.01077, allocations: 3.938 kB / 377.6 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.01079, allocations: 8 kB / 377.6 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.01082, allocations: 19.98 kB / 377.6 MB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.01099, allocations: 119.8 kB / 377.7 MB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.01207, allocations: 1.324 MB / 379 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.01234, allocations: 126.2 kB / 379.1 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.01239, allocations: 39.36 kB / 379.2 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.01241, allocations: 4 kB / 379.2 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.01244, allocations: 37.39 kB / 379.2 MB, free: 1.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.01244, allocations: 0 / 379.2 MB, free: 1.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004649/0.01291, allocations: 236.2 kB / 379.5 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.01296, allocations: 81.09 kB / 379.5 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.0131, allocations: 234.6 kB / 379.8 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.01312, allocations: 29.7 kB / 379.8 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.01324, allocations: 218.9 kB / 380 MB, free: 308 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.01327, allocations: 47.59 kB / 380.1 MB, free: 260 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.01332, allocations: 51.36 kB / 380.1 MB, free: 200 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.01347, allocations: 0.504 MB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.933e-05/0.01351, allocations: 15.98 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.01361, allocations: 171.2 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.01377, allocations: 215.3 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01378, allocations: 0 / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001946/0.01397, allocations: 189.1 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01398, allocations: 4.438 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.01399, allocations: 8 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01401, allocations: 7.938 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.01412, allocations: 43.92 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.01413, allocations: 4 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.601e-05/0.01418, allocations: 11.98 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.0142, allocations: 12 kB / 381.3 MB, free: 14.88 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.657e-05/0.01429, allocations: 172.5 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.01431, allocations: 23.91 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.01447, allocations: 110.9 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.01448, allocations: 7.938 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01448, allocations: 0 / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.01449, allocations: 8.047 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.01498, allocations: 0.5789 MB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.01498, allocations: 4.438 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.01504, allocations: 31.92 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.01504, allocations: 4 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.01506, allocations: 12 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.01507, allocations: 4 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.01507, allocations: 4 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.01533, allocations: 395.2 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.01535, allocations: 23.84 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.01537, allocations: 8 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.126e-05/0.01543, allocations: 11.98 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.01547, allocations: 19.92 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.01548, allocations: 8 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.141e-05/0.01556, allocations: 173 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01556, allocations: 0 / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.01581, allocations: 44 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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.819e-05/0.01591, allocations: 99.23 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.01608, allocations: 111.4 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01608, allocations: 0 / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.01614, allocations: 53.11 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.01644, allocations: 46.66 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.0176, allocations: 0.5037 MB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.072e-05/0.01766, allocations: 91.97 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.936e-05/0.01774, allocations: 41.62 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.01778, allocations: 20.5 kB / 383.9 MB, free: 12 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01778, allocations: 0 / 383.9 MB, free: 12 MB / 362.7 MB Notification: Performance of Templates: time 0.003293/0.02108, allocations: 1.288 MB / 385.1 MB, free: 10.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.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: 2.9710077620111406]