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.00134/0.00134, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001536/0.001536, allocations: 211.5 kB / 24.48 MB, free: 3.941 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.517/1.517, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 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.1904/0.1904, allocations: 38.55 MB / 353.2 MB, free: 12.31 MB / 286.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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 67.91 kB / 493.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3521, allocations: 62.46 MB / 0.5432 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007483/0.3596, allocations: 4.755 MB / 0.5478 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.3623, allocations: 1.243 MB / 0.549 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.3626, allocations: 21.62 kB / 0.549 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.3631, allocations: 121.5 kB / 0.5492 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007984/0.3639, allocations: 335.4 kB / 0.5495 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.3643, allocations: 162 kB / 0.5496 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008576/0.3652, allocations: 0.7037 MB / 0.5503 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.3654, allocations: 100.6 kB / 0.5504 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000545/0.366, allocations: 328.5 kB / 0.5507 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006823/0.3666, allocations: 450.3 kB / 0.5512 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.3667, allocations: 49.56 kB / 0.5512 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.3669, allocations: 46.94 kB / 0.5513 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.3671, allocations: 246.5 kB / 0.5515 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.3674, allocations: 234.2 kB / 0.5517 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007601/0.3682, allocations: 0.6135 MB / 0.5523 GB, free: 9.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3682, allocations: 1.031 kB / 0.5523 GB, free: 9.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3682, allocations: 3.938 kB / 0.5523 GB, free: 9.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.3682, allocations: 0 / 0.5523 GB, free: 9.758 MB / 398.1 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.002003/0.3702, allocations: 0.8911 MB / 0.5532 GB, free: 9.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3703, allocations: 13.33 kB / 0.5532 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.3704, allocations: 54.45 kB / 0.5533 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.3717, allocations: 0.5475 MB / 0.5538 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.3718, allocations: 27.12 kB / 0.5538 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.3719, allocations: 43.23 kB / 0.5539 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008645/0.3727, allocations: 0.5493 MB / 0.5544 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3728, allocations: 1.125 kB / 0.5544 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.3728, allocations: 15.25 kB / 0.5544 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003273/0.3731, allocations: 87.27 kB / 0.5545 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005835/0.3737, allocations: 367.6 kB / 0.5548 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003255/0.377, allocations: 1.875 MB / 0.5567 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008791/0.3778, allocations: 379.2 kB / 0.557 GB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.3784, allocations: 277.6 kB / 0.5573 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.3784, allocations: 4 kB / 0.5573 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.3785, allocations: 46.44 kB / 0.5573 GB, free: 5.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.3785, allocations: 0 / 0.5573 GB, free: 5.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.0047/0.3832, allocations: 1.941 MB / 0.5592 GB, free: 3.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.3833, allocations: 81.11 kB / 0.5593 GB, free: 3.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004631/0.3838, allocations: 377.6 kB / 0.5597 GB, free: 2.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.3838, allocations: 29.83 kB / 0.5597 GB, free: 2.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.384, allocations: 260.6 kB / 0.56 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.3842, allocations: 142.8 kB / 0.5601 GB, free: 2.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.3844, allocations: 102.1 kB / 0.5602 GB, free: 2.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002517/0.3846, allocations: 366.7 kB / 0.5605 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.385, allocations: 240.9 kB / 0.5608 GB, free: 1.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.3855, allocations: 354.1 kB / 0.5611 GB, free: 1.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009935/0.3865, allocations: 0.6195 MB / 0.5617 GB, free: 0.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3865, allocations: 0 / 0.5617 GB, free: 0.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001815/0.3883, allocations: 0.9981 MB / 0.5627 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3883, allocations: 8 kB / 0.5627 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3884, allocations: 11.94 kB / 0.5627 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.3895, allocations: 417.2 kB / 0.5631 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.3897, allocations: 83.89 kB / 0.5632 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/0.3956, allocations: 4.848 MB / 0.5679 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/0.396, allocations: 43.94 kB / 0.568 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.396, allocations: 16 kB / 0.568 GB, free: 10.16 MB / 414.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 (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.0003262/0.3964, allocations: 205.6 kB / 0.5682 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/0.3964, allocations: 39.77 kB / 0.5682 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/0.3981, allocations: 0.8309 MB / 0.569 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3981, allocations: 4.125 kB / 0.569 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3981, allocations: 4 kB / 0.569 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.3981, allocations: 7.984 kB / 0.569 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.4006, allocations: 1.289 MB / 0.5703 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4006, allocations: 4 kB / 0.5703 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.4008, allocations: 35.98 kB / 0.5703 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.402, allocations: 449.3 kB / 0.5708 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/0.4021, allocations: 31.97 kB / 0.5708 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006532/0.4086, allocations: 6.194 MB / 0.5768 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.4086, allocations: 8.328 kB / 0.5768 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.4107, allocations: 1.118 MB / 0.5779 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.4109, allocations: 39.7 kB / 0.578 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.411, allocations: 27.98 kB / 0.578 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.4114, allocations: 43.88 kB / 0.578 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.4115, allocations: 39.86 kB / 0.5781 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.4115, allocations: 15.98 kB / 0.5781 GB, free: 15.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003297/0.4118, allocations: 255.2 kB / 0.5783 GB, free: 14.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4118, allocations: 0 / 0.5783 GB, free: 14.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008129/0.4126, allocations: 160 kB / 0.5785 GB, free: 14.8 MB / 430.1 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.0002057/0.4128, allocations: 121 kB / 0.5786 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.4148, allocations: 0.8605 MB / 0.5794 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4148, allocations: 256 / 0.5794 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.4164, allocations: 0.8642 MB / 0.5803 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007527/0.4171, allocations: 124 kB / 0.5804 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.4204, allocations: 1.901 MB / 0.5823 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.4208, allocations: 286.2 kB / 0.5825 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.4209, allocations: 35.42 kB / 0.5826 GB, free: 10.47 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4209, allocations: 0 / 0.5826 GB, free: 10.47 MB / 430.1 MB Notification: Performance of Templates: time 0.02014/0.4411, allocations: 13.49 MB / 0.5957 GB, free: 12.99 MB / 446.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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: 10.599847007077187]