Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001021/0.001021, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001094/0.001094, allocations: 171.2 kB / 24.82 MB, free: 8.32 MB / 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.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.3026/0.3026, allocations: 29.42 MB / 291.2 MB, free: 2.441 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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.029e-05, allocations: 6.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.004795/0.004815, allocations: 4.509 MB / 374.6 MB, free: 6.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.006427, allocations: 1.285 MB / 375.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.006628, allocations: 23.81 kB / 375.9 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007247/0.007353, allocations: 103.2 kB / 376 MB, free: 4.777 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004538/0.007806, allocations: 346.1 kB / 376.4 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.008157, allocations: 167.6 kB / 376.5 MB, free: 4.273 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.008635, allocations: 0.6928 MB / 377.2 MB, free: 3.578 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.008827, allocations: 92.69 kB / 377.3 MB, free: 3.488 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005156/0.009343, allocations: 478.8 kB / 377.8 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.00975, allocations: 379.1 kB / 378.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.009811, allocations: 40 kB / 378.2 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.743e-05/0.009878, allocations: 40 kB / 378.2 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.01006, allocations: 247.4 kB / 378.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.01022, allocations: 195.5 kB / 378.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.01063, allocations: 426.5 kB / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01063, allocations: 7.984 kB / 379.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.01063, allocations: 0 / 379.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.01064, allocations: 0 / 379.1 MB, free: 1.711 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0011/0.01174, allocations: 0.8628 MB / 380 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.01179, allocations: 19.98 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.0119, allocations: 76.61 kB / 380 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.01241, allocations: 433.7 kB / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.01243, allocations: 25.03 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.0125, allocations: 47.88 kB / 380.5 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.01287, allocations: 358.7 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.01289, allocations: 3.938 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.01291, allocations: 12 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.01304, allocations: 28.64 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.01321, allocations: 120.4 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.01474, allocations: 1.796 MB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.01511, allocations: 210.2 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006181/0.01573, allocations: 159.3 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.01575, allocations: 4 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.01578, allocations: 45.33 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.905e-06/0.01579, allocations: 3.984 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001729/0.01752, allocations: 0.9618 MB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.01756, allocations: 85.11 kB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.01781, allocations: 406.4 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.01784, allocations: 33.7 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.01801, allocations: 307.3 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.812e-05/0.01811, allocations: 150.8 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.01822, allocations: 103.8 kB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.01839, allocations: 0.539 MB / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.01848, allocations: 52.95 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.01865, allocations: 220.5 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.01894, allocations: 309.1 kB / 386.4 MB, free: 9.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01894, allocations: 0 / 386.4 MB, free: 9.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000593/0.01954, allocations: 459.9 kB / 386.8 MB, free: 9.461 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.01956, allocations: 8 kB / 386.9 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.01957, allocations: 8 kB / 386.9 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/0.02, allocations: 147.3 kB / 387 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.02016, allocations: 75.91 kB / 387.1 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.02314, allocations: 4.37 MB / 391.4 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.02326, allocations: 12 kB / 391.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.02329, allocations: 16 kB / 391.5 MB, free: 4.602 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.02343, allocations: 180.4 kB / 391.6 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.02349, allocations: 51.77 kB / 391.7 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005777/0.02406, allocations: 451 kB / 392.1 MB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.02407, allocations: 4 kB / 392.1 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.02407, allocations: 8 kB / 392.2 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.02408, allocations: 0 / 392.2 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008596/0.02494, allocations: 0.7721 MB / 392.9 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.02494, allocations: 0 / 392.9 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-05/0.02503, allocations: 35.92 kB / 393 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005376/0.02557, allocations: 261.4 kB / 393.2 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.02561, allocations: 39.83 kB / 393.3 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003537/0.02915, allocations: 6.997 MB / 400.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.02915, allocations: 0 / 400.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.02983, allocations: 0.6542 MB / 400.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.02987, allocations: 39.72 kB / 400.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.02992, allocations: 27.98 kB / 401 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.03003, allocations: 4 kB / 401 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.03009, allocations: 43.8 kB / 401 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.03011, allocations: 11.98 kB / 401 MB, free: 10.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.03024, allocations: 251 kB / 401.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03024, allocations: 0 / 401.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004235/0.03067, allocations: 152 kB / 401.4 MB, free: 9.988 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0001837/0.03085, allocations: 126.4 kB / 401.5 MB, free: 9.859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007755/0.03163, allocations: 0.6448 MB / 402.2 MB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.03163, allocations: 0 / 402.2 MB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007101/0.03234, allocations: 0.9005 MB / 403.1 MB, free: 8.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.03281, allocations: 112.6 kB / 403.2 MB, free: 8.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.03508, allocations: 1.34 MB / 404.5 MB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.03519, allocations: 149.7 kB / 404.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.03532, allocations: 64.28 kB / 404.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.0355, allocations: 162.1 kB / 404.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.03551, allocations: 0 / 404.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of Templates: time 0.01089/0.0464, allocations: 8.477 MB / 413.4 MB, free: 13.96 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.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: 3.6018565730191767]