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.001496/0.001496, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00168/0.00168, allocations: 161.7 kB / 24.27 MB, free: 172 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.536/1.536, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3161/0.3161, allocations: 29.42 MB / 290.5 MB, free: 2.414 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.Generic.Test.AdmittanceTest,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.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,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.AdmittanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.249e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005795/0.005827, allocations: 3.422 MB / 372.3 MB, free: 7.867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.008286, allocations: 1.375 MB / 373.7 MB, free: 6.484 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.008431, allocations: 7.938 kB / 373.7 MB, free: 6.477 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.009458, allocations: 254.9 kB / 373.9 MB, free: 6.227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000709/0.01017, allocations: 282.6 kB / 374.2 MB, free: 5.949 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.0105, allocations: 111.5 kB / 374.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004732/0.01098, allocations: 342.9 kB / 374.7 MB, free: 5.504 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.01127, allocations: 110.1 kB / 374.8 MB, free: 5.398 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.01168, allocations: 211.3 kB / 375 MB, free: 5.191 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.01196, allocations: 147.5 kB / 375.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.01199, allocations: 12 kB / 375.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004911/0.01248, allocations: 271 kB / 375.4 MB, free: 4.77 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.01262, allocations: 111.7 kB / 375.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.01274, allocations: 71.83 kB / 375.6 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.01331, allocations: 355 kB / 375.9 MB, free: 4.242 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.01332, allocations: 4 kB / 375.9 MB, free: 4.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01332, allocations: 0 / 375.9 MB, free: 4.238 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.01332, allocations: 0 / 375.9 MB, free: 4.238 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.0007936/0.01412, allocations: 449 kB / 376.4 MB, free: 3.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.01416, allocations: 11.98 kB / 376.4 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009842/0.01515, allocations: 144.5 kB / 376.5 MB, free: 3.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.01553, allocations: 205.9 kB / 376.7 MB, free: 3.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.01555, allocations: 12.38 kB / 376.7 MB, free: 3.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.01561, allocations: 24.36 kB / 376.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.01622, allocations: 319.3 kB / 377.1 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.01624, allocations: 3.938 kB / 377.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.01627, allocations: 8 kB / 377.1 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/0.01632, allocations: 19.98 kB / 377.1 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.01682, allocations: 283.8 kB / 377.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.01891, allocations: 1.174 MB / 378.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.01935, allocations: 161.2 kB / 378.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.01945, allocations: 45.77 kB / 378.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.01948, allocations: 7.938 kB / 378.7 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.01952, allocations: 30.56 kB / 378.8 MB, free: 1.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.01952, allocations: 0 / 378.8 MB, free: 1.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007329/0.02025, allocations: 300.7 kB / 379.1 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.02033, allocations: 81.11 kB / 379.2 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.02055, allocations: 191.5 kB / 379.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.02058, allocations: 29.81 kB / 379.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.02072, allocations: 172.2 kB / 379.5 MB, free: 388 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.02077, allocations: 43.64 kB / 379.6 MB, free: 344 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-05/0.02085, allocations: 49.66 kB / 379.6 MB, free: 288 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.02106, allocations: 322.8 kB / 379.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.02116, allocations: 47.97 kB / 380 MB, free: 15.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.02135, allocations: 148.7 kB / 380.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.02167, allocations: 220.2 kB / 380.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.02167, allocations: 0 / 380.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004029/0.02207, allocations: 241.1 kB / 380.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.02209, allocations: 7.984 kB / 380.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.0221, allocations: 4 kB / 380.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.02213, allocations: 7.938 kB / 380.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.0223, allocations: 47.92 kB / 380.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.02231, allocations: 4.438 kB / 380.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.02241, allocations: 12 kB / 380.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.02244, allocations: 15.98 kB / 380.7 MB, free: 15.12 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 0.0001662/0.02261, allocations: 153.7 kB / 380.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.02266, allocations: 19.91 kB / 380.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.02295, allocations: 150.5 kB / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.02296, allocations: 7.875 kB / 381 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.02296, allocations: 4 kB / 381 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.02297, allocations: 0 / 381 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009558/0.02392, allocations: 0.5906 MB / 381.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.02393, allocations: 4.062 kB / 381.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.02405, allocations: 31.92 kB / 381.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.02406, allocations: 4 kB / 381.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.02407, allocations: 8 kB / 381.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.02408, allocations: 4.438 kB / 381.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.02408, allocations: 11.98 kB / 381.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.02451, allocations: 339.2 kB / 382 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.02455, allocations: 19.89 kB / 382 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.02458, allocations: 8 kB / 382 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.0247, allocations: 4 kB / 382 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.02475, allocations: 23.91 kB / 382 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.02477, allocations: 8 kB / 382.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.0249, allocations: 133.2 kB / 382.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0249, allocations: 4 kB / 382.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003703/0.02527, allocations: 51.92 kB / 382.2 MB, free: 13.42 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 0.0001397/0.02541, allocations: 99.19 kB / 382.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.0257, allocations: 143.6 kB / 382.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.02571, allocations: 0.875 kB / 382.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.02582, allocations: 67.84 kB / 382.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.02629, allocations: 38.5 kB / 382.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009495/0.02724, allocations: 484.2 kB / 383.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.02744, allocations: 147.9 kB / 383.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.02756, allocations: 49.62 kB / 383.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.02763, allocations: 20.5 kB / 383.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02763, allocations: 0 / 383.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of Templates: time 0.004779/0.03241, allocations: 1.242 MB / 384.5 MB, free: 11.07 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.8548128879629076]