Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 250.8 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1832/0.1832, allocations: 38.53 MB / 344.5 MB, free: 2.578 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 71.88 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3459, allocations: 61.24 MB / 0.5306 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006793/0.3527, allocations: 7.568 MB / 0.538 GB, free: 56 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006915/0.3596, allocations: 4.451 MB / 0.5423 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005611/0.3602, allocations: 16.94 kB / 0.5423 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.3629, allocations: 1.067 MB / 0.5434 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003197/0.3661, allocations: 1.217 MB / 0.5446 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3672, allocations: 315 kB / 0.5449 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00205/0.3692, allocations: 1.402 MB / 0.5462 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009662/0.3702, allocations: 473.8 kB / 0.5467 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.3716, allocations: 0.618 MB / 0.5473 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.3729, allocations: 0.7394 MB / 0.548 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.3731, allocations: 62.84 kB / 0.5481 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/0.3756, allocations: 1.376 MB / 0.5494 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005555/0.3762, allocations: 493.7 kB / 0.5499 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005417/0.3767, allocations: 441.7 kB / 0.5503 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.3794, allocations: 1.459 MB / 0.5517 GB, free: 6.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3794, allocations: 0 / 0.5517 GB, free: 6.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3794, allocations: 0 / 0.5517 GB, free: 6.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.3794, allocations: 5.094 kB / 0.5517 GB, free: 6.426 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002062/0.3815, allocations: 1.16 MB / 0.5529 GB, free: 5.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3816, allocations: 12.83 kB / 0.5529 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/0.3847, allocations: 393.6 kB / 0.5533 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008455/0.3855, allocations: 486.6 kB / 0.5537 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/0.3856, allocations: 62.31 kB / 0.5538 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.3857, allocations: 72.31 kB / 0.5538 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.3878, allocations: 1.18 MB / 0.555 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.3878, allocations: 3.984 kB / 0.555 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.584e-05/0.3879, allocations: 31.98 kB / 0.555 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.822e-05/0.388, allocations: 65.97 kB / 0.5551 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.39, allocations: 1.249 MB / 0.5563 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005728/0.3957, allocations: 3.492 MB / 0.5597 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.3975, allocations: 0.9872 MB / 0.5607 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009161/0.3984, allocations: 0.5901 MB / 0.5613 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-05/0.3985, allocations: 20.97 kB / 0.5613 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.3985, allocations: 47.78 kB / 0.5613 GB, free: 12.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.176e-06/0.3985, allocations: 0 / 0.5613 GB, free: 12.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.00749/0.406, allocations: 3.085 MB / 0.5643 GB, free: 9.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.4061, allocations: 98.08 kB / 0.5644 GB, free: 9.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.4066, allocations: 361.6 kB / 0.5648 GB, free: 9.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.4067, allocations: 41.7 kB / 0.5648 GB, free: 9.234 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.407, allocations: 320.9 kB / 0.5651 GB, free: 8.914 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/0.4073, allocations: 325.2 kB / 0.5654 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003291/0.4077, allocations: 158.6 kB / 0.5656 GB, free: 8.434 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.4079, allocations: 370.8 kB / 0.5659 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007462/0.4086, allocations: 469.7 kB / 0.5664 GB, free: 7.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008227/0.4095, allocations: 0.5695 MB / 0.5669 GB, free: 7.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.4112, allocations: 1.109 MB / 0.568 GB, free: 5.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4112, allocations: 0 / 0.568 GB, free: 5.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002716/0.4139, allocations: 1.473 MB / 0.5695 GB, free: 4.383 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.4139, allocations: 8 kB / 0.5695 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4139, allocations: 0 / 0.5695 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.415, allocations: 337.7 kB / 0.5698 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008007/0.4158, allocations: 191.7 kB / 0.57 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00614/0.4219, allocations: 4.187 MB / 0.5741 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007184/0.4226, allocations: 47.94 kB / 0.5741 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.568e-05/0.4227, allocations: 35.98 kB / 0.5742 GB, free: 15.42 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004941/0.4232, allocations: 289.5 kB / 0.5744 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.4233, allocations: 63.61 kB / 0.5745 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/0.4263, allocations: 1.559 MB / 0.576 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.4263, allocations: 11.98 kB / 0.576 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.4264, allocations: 4 kB / 0.576 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4264, allocations: 7.984 kB / 0.576 GB, free: 13.46 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005531/0.4319, allocations: 3.015 MB / 0.579 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.4319, allocations: 11.92 kB / 0.579 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006737/0.4326, allocations: 160.2 kB / 0.5791 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008641/0.4335, allocations: 288.5 kB / 0.5794 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.149e-05/0.4335, allocations: 31.94 kB / 0.5795 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005636/0.4392, allocations: 3.915 MB / 0.5833 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.4392, allocations: 8 kB / 0.5833 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/0.4419, allocations: 1.587 MB / 0.5848 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.4421, allocations: 156.5 kB / 0.585 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.4422, allocations: 20 kB / 0.585 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.4427, allocations: 43.91 kB / 0.585 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.4428, allocations: 72.89 kB / 0.5851 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/0.4429, allocations: 39.98 kB / 0.5851 GB, free: 3.766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003115/0.4432, allocations: 259.1 kB / 0.5854 GB, free: 3.516 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4432, allocations: 3.938 kB / 0.5854 GB, free: 3.512 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001029/0.4443, allocations: 315.9 kB / 0.5857 GB, free: 3.203 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001884/0.4444, allocations: 126.8 kB / 0.5858 GB, free: 3.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002354/0.4468, allocations: 1.331 MB / 0.5871 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4468, allocations: 0 / 0.5871 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.4481, allocations: 0.8008 MB / 0.5879 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007671/0.4489, allocations: 102.4 kB / 0.588 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.452, allocations: 1.823 MB / 0.5898 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008423/0.4529, allocations: 1.072 MB / 0.5908 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004592/0.4533, allocations: 184.6 kB / 0.591 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.4535, allocations: 63.41 kB / 0.5911 GB, free: 13.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.362e-06/0.4535, allocations: 0 / 0.5911 GB, free: 13.57 MB / 446.1 MB Notification: Performance of Templates: time 0.02059/0.4741, allocations: 11.03 MB / 0.6018 GB, free: 2.551 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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: 5.384728264994919]