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.002032/0.002032, allocations: 91.61 kB / 20.95 MB, free: 3.465 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.00233/0.00233, allocations: 165.6 kB / 24.27 MB, free: 152 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.658/1.658, allocations: 177.2 MB / 204.6 MB, free: 5.605 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.3445/0.3445, 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 1.162e-06/1.162e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.588e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005498/0.005523, allocations: 3.524 MB / 372.4 MB, free: 7.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.007974, allocations: 1.442 MB / 373.8 MB, free: 6.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.00809, allocations: 11.94 kB / 373.9 MB, free: 6.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008701/0.008961, allocations: 250.9 kB / 374.1 MB, free: 6.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00065/0.009611, allocations: 282.6 kB / 374.4 MB, free: 5.797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.009902, allocations: 115.5 kB / 374.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.01038, allocations: 346.9 kB / 374.8 MB, free: 5.344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.01066, allocations: 114.1 kB / 374.9 MB, free: 5.234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.01106, allocations: 207.4 kB / 375.1 MB, free: 5.031 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.01137, allocations: 151.5 kB / 375.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.0114, allocations: 12 kB / 375.3 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000489/0.01189, allocations: 275 kB / 375.6 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.01204, allocations: 107.7 kB / 375.7 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.01216, allocations: 75.83 kB / 375.7 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005992/0.01276, allocations: 355 kB / 376.1 MB, free: 4.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01276, allocations: 0 / 376.1 MB, free: 4.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.01276, allocations: 0 / 376.1 MB, free: 4.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.01277, allocations: 4 kB / 376.1 MB, free: 4.07 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.00091/0.01368, allocations: 0.5575 MB / 376.7 MB, free: 3.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.01372, allocations: 11.98 kB / 376.7 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009044/0.01462, allocations: 148.5 kB / 376.8 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.01502, allocations: 204.8 kB / 377 MB, free: 3.094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.01504, allocations: 12.38 kB / 377 MB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.01509, allocations: 20.38 kB / 377 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.01555, allocations: 252.3 kB / 377.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.01556, allocations: 3.938 kB / 377.3 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.01559, allocations: 8 kB / 377.3 MB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.01562, allocations: 16 kB / 377.3 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.01596, allocations: 143.8 kB / 377.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.01798, allocations: 1.363 MB / 378.8 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.01843, allocations: 134.2 kB / 379 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.856e-05/0.01852, allocations: 43.42 kB / 379 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.01855, allocations: 4 kB / 379 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.01859, allocations: 37.39 kB / 379 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.01859, allocations: 0 / 379 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006337/0.01923, allocations: 247 kB / 379.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.0193, allocations: 89.09 kB / 379.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.01956, allocations: 262.5 kB / 379.6 MB, free: 292 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.01958, allocations: 33.83 kB / 379.7 MB, free: 252 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.01974, allocations: 210.9 kB / 379.9 MB, free: 32 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.606e-05/0.01982, allocations: 55.77 kB / 379.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.29e-05/0.01991, allocations: 59.31 kB / 380 MB, free: 15.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003027/0.02022, allocations: 0.504 MB / 380.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.02029, allocations: 23.98 kB / 380.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.02064, allocations: 179.2 kB / 380.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.02094, allocations: 219.1 kB / 380.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.02094, allocations: 0 / 380.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003541/0.0213, allocations: 205.1 kB / 381.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.02131, allocations: 8 kB / 381.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.02132, allocations: 4 kB / 381.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.02135, allocations: 7.75 kB / 381.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.02152, allocations: 44.36 kB / 381.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.02153, allocations: 11.98 kB / 381.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.808e-05/0.02163, allocations: 8 kB / 381.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.02165, allocations: 8 kB / 381.2 MB, free: 14.56 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.0001577/0.02181, allocations: 172.5 kB / 381.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.02186, allocations: 23.91 kB / 381.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.02214, allocations: 123 kB / 381.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.02214, allocations: 0 / 381.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.02215, allocations: 0 / 381.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.02215, allocations: 3.984 kB / 381.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009828/0.02314, allocations: 0.6336 MB / 382.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.02314, allocations: 4 kB / 382.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.02326, allocations: 27.92 kB / 382.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.02326, allocations: 8 kB / 382.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.02328, allocations: 12.5 kB / 382.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.02329, allocations: 4 kB / 382.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.02329, allocations: 11.94 kB / 382.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.02374, allocations: 406.1 kB / 382.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.02378, allocations: 15.91 kB / 382.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.02381, allocations: 11.98 kB / 382.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.02393, allocations: 4 kB / 382.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.02399, allocations: 27.86 kB / 382.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.024, allocations: 4 kB / 382.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.02414, allocations: 177.1 kB / 382.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02414, allocations: 4 kB / 382.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003426/0.02449, allocations: 47.94 kB / 382.9 MB, free: 12.68 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.000129/0.02462, allocations: 103.2 kB / 383 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.02488, allocations: 120.1 kB / 383.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.02488, allocations: 0 / 383.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.02498, allocations: 63.61 kB / 383.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.02541, allocations: 42.66 kB / 383.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009801/0.02639, allocations: 0.4898 MB / 383.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.02664, allocations: 143.9 kB / 383.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.0268, allocations: 37.59 kB / 383.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.02686, allocations: 20.5 kB / 383.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02687, allocations: 0 / 383.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Templates: time 0.005138/0.032, allocations: 1.249 MB / 385.1 MB, free: 10.32 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","/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.905999744078144]