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.001301/0.001301, allocations: 84.62 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.001397/0.001397, 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.362/1.362, allocations: 177.1 MB / 204.3 MB, free: 9.172 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.1706/0.1706, allocations: 29.43 MB / 290.1 MB, free: 3.277 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.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.473e-06/1.473e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.665e-05, allocations: 2.281 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004792/0.004819, allocations: 3.411 MB / 434.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.007089, allocations: 1.372 MB / 435.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.007237, allocations: 11.88 kB / 435.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008829/0.00812, allocations: 254.9 kB / 435.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006725/0.008792, allocations: 282.5 kB / 436 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.009087, allocations: 115.5 kB / 436.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.009526, allocations: 342.9 kB / 436.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.009824, allocations: 110.1 kB / 436.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004258/0.01025, allocations: 207.3 kB / 436.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.01056, allocations: 147.6 kB / 436.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.01059, allocations: 16 kB / 437 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.01104, allocations: 271 kB / 437.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.01118, allocations: 103.7 kB / 437.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.0113, allocations: 75.78 kB / 437.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004957/0.0118, allocations: 355 kB / 437.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.0118, allocations: 0 / 437.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.0118, allocations: 0 / 437.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.0118, allocations: 0 / 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.0007476/0.01255, allocations: 452.9 kB / 438.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.01259, allocations: 19.92 kB / 438.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007966/0.01338, allocations: 96.67 kB / 438.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.01372, allocations: 198 kB / 438.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.01374, allocations: 16.38 kB / 438.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.01379, allocations: 24.36 kB / 438.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.01429, allocations: 315.3 kB / 438.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.0143, allocations: 3.938 kB / 438.8 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.01433, allocations: 12 kB / 438.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.01436, allocations: 15.98 kB / 438.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.01482, allocations: 283.8 kB / 439.1 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.01654, allocations: 1.166 MB / 440.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.01692, allocations: 161.2 kB / 440.5 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.01701, allocations: 53.64 kB / 440.5 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.01703, allocations: 7.984 kB / 440.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.01706, allocations: 30.56 kB / 440.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.01707, allocations: 0 / 440.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006232/0.01769, allocations: 284.8 kB / 440.8 MB, free: 7.574 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.01776, allocations: 85.09 kB / 440.9 MB, free: 7.473 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.01795, allocations: 187.5 kB / 441.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.01797, allocations: 29.7 kB / 441.1 MB, free: 7.242 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01808, allocations: 164.3 kB / 441.3 MB, free: 7.078 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.01814, allocations: 55.53 kB / 441.3 MB, free: 7.023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.01821, allocations: 41.7 kB / 441.4 MB, free: 6.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.01835, allocations: 326.8 kB / 441.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.718e-05/0.01844, allocations: 51.91 kB / 441.8 MB, free: 6.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.0186, allocations: 148.7 kB / 441.9 MB, free: 6.406 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.01889, allocations: 217.3 kB / 442.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01889, allocations: 0 / 442.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003459/0.01924, allocations: 225.2 kB / 442.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01925, allocations: 8 kB / 442.3 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.01926, allocations: 4 kB / 442.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.01928, allocations: 7.938 kB / 442.4 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.01944, allocations: 47.92 kB / 442.4 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.01946, allocations: 11.92 kB / 442.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.905e-05/0.01956, allocations: 8.375 kB / 442.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.01958, allocations: 16 kB / 442.4 MB, free: 5.82 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 (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.0001546/0.01973, allocations: 161.7 kB / 442.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.01977, allocations: 15.91 kB / 442.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.02005, allocations: 151.1 kB / 442.8 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.02005, allocations: 3.938 kB / 442.8 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.02006, allocations: 4 kB / 442.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.02006, allocations: 3.984 kB / 442.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008378/0.0209, allocations: 0.5827 MB / 443.3 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.0209, allocations: 3.938 kB / 443.4 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.02101, allocations: 31.98 kB / 443.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.02101, allocations: 4 kB / 443.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.02103, allocations: 7.984 kB / 443.4 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.02104, allocations: 7.938 kB / 443.4 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.02105, allocations: 8.5 kB / 443.4 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.0214, allocations: 339.4 kB / 443.7 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.02143, allocations: 15.91 kB / 443.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.02146, allocations: 8 kB / 443.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.02158, allocations: 4 kB / 443.8 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.02162, allocations: 27.84 kB / 443.8 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.02163, allocations: 8 kB / 443.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.02175, allocations: 137.2 kB / 443.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02175, allocations: 0 / 443.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003487/0.0221, allocations: 48 kB / 444 MB, free: 4.117 MB / 366.1 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.0001112/0.02221, allocations: 103.1 kB / 444.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.02246, allocations: 139.1 kB / 444.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02246, allocations: 0.875 kB / 444.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.02258, allocations: 64.09 kB / 444.3 MB, free: 3.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.023, allocations: 45.67 kB / 444.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/0.02378, allocations: 482.2 kB / 444.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.02394, allocations: 148.6 kB / 444.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.02406, allocations: 53.56 kB / 445 MB, free: 3.008 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.0241, allocations: 16.5 kB / 445 MB, free: 2.992 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.02411, allocations: 0 / 445 MB, free: 2.992 MB / 366.1 MB Notification: Performance of Templates: time 0.004456/0.02856, allocations: 1.231 MB / 446.2 MB, free: 1.785 MB / 366.1 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.356982704252005]